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.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 # 
Instance details

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

Data UsersPatch Source # 
Instance details

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

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 # 
Instance details

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

Generic UsersPatch Source # 
Instance details

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

Associated Types

type Rep UsersPatch :: Type -> Type #

GoogleRequest UsersPatch Source # 
Instance details

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

Associated Types

type Rs UsersPatch :: Type #

type Scopes UsersPatch :: [Symbol] #

type Rep UsersPatch Source # 
Instance details

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

type Rep UsersPatch = D1 (MetaData "UsersPatch" "Network.Google.Resource.Directory.Users.Patch" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "UsersPatch'" PrefixI True) (S1 (MetaSel (Just "_upPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 User) :*: S1 (MetaSel (Just "_upUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersPatch Source # 
Instance details

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

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

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

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