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.Patch

Contents

Description

Update membership of a user in the specified group. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for directory.members.patch method which the MembersPatch request conforms to.

Creating a Request

membersPatch Source #

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

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

data MembersPatch Source #

Update membership of a user in the specified group. This method supports patch semantics.

See: membersPatch smart constructor.

Instances
Eq MembersPatch Source # 
Instance details

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

Data MembersPatch Source # 
Instance details

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

Methods

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

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

toConstr :: MembersPatch -> Constr #

dataTypeOf :: MembersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MembersPatch Source # 
Instance details

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

Generic MembersPatch Source # 
Instance details

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

Associated Types

type Rep MembersPatch :: Type -> Type #

GoogleRequest MembersPatch Source # 
Instance details

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

Associated Types

type Rs MembersPatch :: Type #

type Scopes MembersPatch :: [Symbol] #

type Rep MembersPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

mpMemberKey :: Lens' MembersPatch Text Source #

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

mpGroupKey :: Lens' MembersPatch Text Source #

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

mpPayload :: Lens' MembersPatch Member Source #

Multipart request metadata.