gogol-cloudidentity-0.4.0: Google Cloud Identity 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.CloudIdentity.Groups.Create

Contents

Description

Creates a Group.

See: Cloud Identity API Reference for cloudidentity.groups.create.

Synopsis

REST Resource

type GroupsCreateResource = "v1" :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Post '[JSON] Operation)))))))) Source #

A resource alias for cloudidentity.groups.create method which the GroupsCreate request conforms to.

Creating a Request

groupsCreate Source #

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

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

data GroupsCreate Source #

Creates a Group.

See: groupsCreate smart constructor.

Instances
Eq GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

Data GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

Methods

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

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

toConstr :: GroupsCreate -> Constr #

dataTypeOf :: GroupsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

Generic GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

Associated Types

type Rep GroupsCreate :: Type -> Type #

GoogleRequest GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

Associated Types

type Rs GroupsCreate :: Type #

type Scopes GroupsCreate :: [Symbol] #

type Rep GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

type Rep GroupsCreate = D1 (MetaData "GroupsCreate" "Network.Google.Resource.CloudIdentity.Groups.Create" "gogol-cloudidentity-0.4.0-70dkCNBCHSj1yskFkcCZhj" False) (C1 (MetaCons "GroupsCreate'" PrefixI True) ((S1 (MetaSel (Just "_gcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_gcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group) :*: S1 (MetaSel (Just "_gcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

type Scopes GroupsCreate = ([] :: [Symbol])
type Rs GroupsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudIdentity.Groups.Create

Request Lenses

gcUploadProtocol :: Lens' GroupsCreate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

gcUploadType :: Lens' GroupsCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

gcPayload :: Lens' GroupsCreate Group Source #

Multipart request metadata.