gogol-useraccounts-0.1.1: Google Cloud User Accounts SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudUserAccounts.Groups.Insert

Contents

Description

Creates a Group resource in the specified project using the data included in the request.

See: Cloud User Accounts API Reference for clouduseraccounts.groups.insert.

Synopsis

REST Resource

type GroupsInsertResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("groups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Operation))))))) Source #

A resource alias for clouduseraccounts.groups.insert method which the GroupsInsert request conforms to.

Creating a Request

groupsInsert Source #

Creates a value of GroupsInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GroupsInsert Source #

Creates a Group resource in the specified project using the data included in the request.

See: groupsInsert smart constructor.

Instances

Eq GroupsInsert Source # 
Data GroupsInsert Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupsInsert -> c GroupsInsert #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupsInsert #

toConstr :: GroupsInsert -> Constr #

dataTypeOf :: GroupsInsert -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GroupsInsert) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupsInsert) #

gmapT :: (forall b. Data b => b -> b) -> GroupsInsert -> GroupsInsert #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupsInsert -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupsInsert -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupsInsert -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupsInsert -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupsInsert -> m GroupsInsert #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupsInsert -> m GroupsInsert #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupsInsert -> m GroupsInsert #

Show GroupsInsert Source # 
Generic GroupsInsert Source # 

Associated Types

type Rep GroupsInsert :: * -> * #

GoogleRequest GroupsInsert Source # 

Associated Types

type Rs GroupsInsert :: * #

type Scopes GroupsInsert :: [Symbol] #

type Rep GroupsInsert Source # 
type Rep GroupsInsert = D1 (MetaData "GroupsInsert" "Network.Google.Resource.CloudUserAccounts.Groups.Insert" "gogol-useraccounts-0.1.1-IaGbSBriBTL6uiMPQomAde" False) (C1 (MetaCons "GroupsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_giProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_giPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group))))
type Scopes GroupsInsert Source # 
type Scopes GroupsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud.useraccounts" ([] Symbol))
type Rs GroupsInsert Source # 

Request Lenses

giProject :: Lens' GroupsInsert Text Source #

Project ID for this request.

giPayload :: Lens' GroupsInsert Group Source #

Multipart request metadata.