gogol-admin-directory-0.4.0: Google Admin Directory 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.Directory.Members.Update

Contents

Description

Update membership of a user in the specified group.

See: Admin Directory API Reference for directory.members.update.

Synopsis

REST Resource

type MembersUpdateResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("members" :> (Capture "memberKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Member :> Put '[JSON] Member)))))))) Source #

A resource alias for directory.members.update method which the MembersUpdate request conforms to.

Creating a Request

membersUpdate Source #

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

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

data MembersUpdate Source #

Update membership of a user in the specified group.

See: membersUpdate smart constructor.

Instances
Eq MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

Data MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

Methods

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

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

toConstr :: MembersUpdate -> Constr #

dataTypeOf :: MembersUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

Generic MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

Associated Types

type Rep MembersUpdate :: Type -> Type #

GoogleRequest MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

Associated Types

type Rs MembersUpdate :: Type #

type Scopes MembersUpdate :: [Symbol] #

type Rep MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

type Rep MembersUpdate = D1 (MetaData "MembersUpdate" "Network.Google.Resource.Directory.Members.Update" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "MembersUpdate'" PrefixI True) (S1 (MetaSel (Just "_muMemberKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_muGroupKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_muPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Member))))
type Scopes MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

type Scopes MembersUpdate = "https://www.googleapis.com/auth/admin.directory.group" ': ("https://www.googleapis.com/auth/admin.directory.group.member" ': ([] :: [Symbol]))
type Rs MembersUpdate Source # 
Instance details

Defined in Network.Google.Resource.Directory.Members.Update

Request Lenses

muMemberKey :: Lens' MembersUpdate Text Source #

Email or immutable ID of the user. If ID, it should match with id of member object

muGroupKey :: Lens' MembersUpdate Text Source #

Email or immutable ID of the group. If ID, it should match with id of group object

muPayload :: Lens' MembersUpdate Member Source #

Multipart request metadata.