gogol-admin-directory-0.3.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.Groups.Patch

Contents

Description

Update Group. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for directory.groups.patch method which the GroupsPatch request conforms to.

Creating a Request

groupsPatch Source #

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

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

data GroupsPatch Source #

Update Group. This method supports patch semantics.

See: groupsPatch smart constructor.

Instances

Eq GroupsPatch Source # 
Data GroupsPatch Source # 

Methods

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

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

toConstr :: GroupsPatch -> Constr #

dataTypeOf :: GroupsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsPatch Source # 
Generic GroupsPatch Source # 

Associated Types

type Rep GroupsPatch :: * -> * #

GoogleRequest GroupsPatch Source # 

Associated Types

type Rs GroupsPatch :: * #

type Scopes GroupsPatch :: [Symbol] #

type Rep GroupsPatch Source # 
type Rep GroupsPatch = D1 (MetaData "GroupsPatch" "Network.Google.Resource.Directory.Groups.Patch" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" False) (C1 (MetaCons "GroupsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gpGroupKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group))))
type Scopes GroupsPatch Source # 
type Scopes GroupsPatch = (:) Symbol "https://www.googleapis.com/auth/admin.directory.group" ([] Symbol)
type Rs GroupsPatch Source # 

Request Lenses

gpGroupKey :: Lens' GroupsPatch Text Source #

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

gpPayload :: Lens' GroupsPatch Group Source #

Multipart request metadata.