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.Memberships.Create

Contents

Description

Creates a Membership.

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

Synopsis

REST Resource

type GroupsMembershipsCreateResource = "v1" :> (Capture "parent" Text :> ("memberships" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Membership :> Post '[JSON] Operation))))))))) Source #

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

Creating a Request

groupsMembershipsCreate Source #

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

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

data GroupsMembershipsCreate Source #

Creates a Membership.

See: groupsMembershipsCreate smart constructor.

Instances
Eq GroupsMembershipsCreate Source # 
Instance details

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

Data GroupsMembershipsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: GroupsMembershipsCreate -> Constr #

dataTypeOf :: GroupsMembershipsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsMembershipsCreate Source # 
Instance details

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

Generic GroupsMembershipsCreate Source # 
Instance details

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

Associated Types

type Rep GroupsMembershipsCreate :: Type -> Type #

GoogleRequest GroupsMembershipsCreate Source # 
Instance details

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

type Rep GroupsMembershipsCreate Source # 
Instance details

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

type Rep GroupsMembershipsCreate = D1 (MetaData "GroupsMembershipsCreate" "Network.Google.Resource.CloudIdentity.Groups.Memberships.Create" "gogol-cloudidentity-0.4.0-70dkCNBCHSj1yskFkcCZhj" False) (C1 (MetaCons "GroupsMembershipsCreate'" PrefixI True) ((S1 (MetaSel (Just "_gmcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_gmcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_gmcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gmcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gmcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gmcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Membership) :*: S1 (MetaSel (Just "_gmcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GroupsMembershipsCreate Source # 
Instance details

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

type Rs GroupsMembershipsCreate Source # 
Instance details

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

Request Lenses

gmcParent :: Lens' GroupsMembershipsCreate Text Source #

Resource name of the Group to create Membership within. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group.

gmcUploadProtocol :: Lens' GroupsMembershipsCreate (Maybe Text) Source #

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

gmcUploadType :: Lens' GroupsMembershipsCreate (Maybe Text) Source #

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