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.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 # 
Data UsersUpdate Source # 

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 # 
Generic UsersUpdate Source # 

Associated Types

type Rep UsersUpdate :: * -> * #

GoogleRequest UsersUpdate Source # 

Associated Types

type Rs UsersUpdate :: * #

type Scopes UsersUpdate :: [Symbol] #

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

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