gogol-admin-directory-0.5.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.Update

Contents

Description

update user

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

Synopsis

REST Resource

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

A resource alias for directory.users.update method which the UsersUpdate request conforms to.

Creating a Request

usersUpdate Source #

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

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

data UsersUpdate Source #

update user

See: usersUpdate smart constructor.

Instances
Eq UsersUpdate Source # 
Instance details

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

Data UsersUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: UsersUpdate -> Constr #

dataTypeOf :: UsersUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersUpdate Source # 
Instance details

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

Generic UsersUpdate Source # 
Instance details

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

Associated Types

type Rep UsersUpdate :: Type -> Type #

GoogleRequest UsersUpdate Source # 
Instance details

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

Associated Types

type Rs UsersUpdate :: Type #

type Scopes UsersUpdate :: [Symbol] #

type Rep UsersUpdate Source # 
Instance details

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

type Rep UsersUpdate = D1 (MetaData "UsersUpdate" "Network.Google.Resource.Directory.Users.Update" "gogol-admin-directory-0.5.0-CACG6Jlc7nkAJWZ09aW4bk" False) (C1 (MetaCons "UsersUpdate'" PrefixI True) (S1 (MetaSel (Just "_uPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 User) :*: S1 (MetaSel (Just "_uUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersUpdate Source # 
Instance details

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

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

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

Request Lenses

uPayload :: Lens' UsersUpdate User Source #

Multipart request metadata.

uUserKey :: Lens' UsersUpdate Text Source #

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