gogol-admin-directory-0.1.1: 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.Users.Patch

Contents

Description

update user. This method supports patch semantics.

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

Synopsis

REST Resource

type UsersPatchResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Patch '[JSON] User)))))) Source #

A resource alias for directory.users.patch method which the UsersPatch request conforms to.

Creating a Request

usersPatch Source #

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

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

data UsersPatch Source #

update user. This method supports patch semantics.

See: usersPatch smart constructor.

Instances

Eq UsersPatch Source # 
Data UsersPatch Source # 

Methods

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

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

toConstr :: UsersPatch -> Constr #

dataTypeOf :: UsersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersPatch Source # 
Generic UsersPatch Source # 

Associated Types

type Rep UsersPatch :: * -> * #

GoogleRequest UsersPatch Source # 

Associated Types

type Rs UsersPatch :: * #

type Scopes UsersPatch :: [Symbol] #

type Rep UsersPatch Source # 
type Rep UsersPatch = D1 (MetaData "UsersPatch" "Network.Google.Resource.Directory.Users.Patch" "gogol-admin-directory-0.1.1-73Tf2vuRaxhTzoNR29qV8" False) (C1 (MetaCons "UsersPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_upPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 User)) (S1 (MetaSel (Just Symbol "_upUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersPatch Source # 
type Scopes UsersPatch = (:) Symbol "https://www.googleapis.com/auth/admin.directory.user" ([] Symbol)
type Rs UsersPatch Source # 

Request Lenses

upPayload :: Lens' UsersPatch User Source #

Multipart request metadata.

upUserKey :: Lens' UsersPatch Text Source #

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