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.Insert

Contents

Description

create user.

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

Synopsis

REST Resource

type UsersInsertResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Post '[JSON] User))))) Source #

A resource alias for directory.users.insert method which the UsersInsert request conforms to.

Creating a Request

usersInsert Source #

Arguments

:: User

uiPayload

-> UsersInsert 

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

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

data UsersInsert Source #

create user.

See: usersInsert smart constructor.

Instances

Eq UsersInsert Source # 
Data UsersInsert Source # 

Methods

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

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

toConstr :: UsersInsert -> Constr #

dataTypeOf :: UsersInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersInsert Source # 
Generic UsersInsert Source # 

Associated Types

type Rep UsersInsert :: * -> * #

GoogleRequest UsersInsert Source # 

Associated Types

type Rs UsersInsert :: * #

type Scopes UsersInsert :: [Symbol] #

type Rep UsersInsert Source # 
type Rep UsersInsert = D1 (MetaData "UsersInsert" "Network.Google.Resource.Directory.Users.Insert" "gogol-admin-directory-0.1.1-73Tf2vuRaxhTzoNR29qV8" True) (C1 (MetaCons "UsersInsert'" PrefixI True) (S1 (MetaSel (Just Symbol "_uiPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User)))
type Scopes UsersInsert Source # 
type Scopes UsersInsert = (:) Symbol "https://www.googleapis.com/auth/admin.directory.user" ([] Symbol)
type Rs UsersInsert Source # 

Request Lenses

uiPayload :: Lens' UsersInsert User Source #

Multipart request metadata.