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

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

Data UsersInsert Source # 
Instance details

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

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

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

Generic UsersInsert Source # 
Instance details

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

Associated Types

type Rep UsersInsert :: Type -> Type #

GoogleRequest UsersInsert Source # 
Instance details

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

Associated Types

type Rs UsersInsert :: Type #

type Scopes UsersInsert :: [Symbol] #

type Rep UsersInsert Source # 
Instance details

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

type Rep UsersInsert = D1 (MetaData "UsersInsert" "Network.Google.Resource.Directory.Users.Insert" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" True) (C1 (MetaCons "UsersInsert'" PrefixI True) (S1 (MetaSel (Just "_uiPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User)))
type Scopes UsersInsert Source # 
Instance details

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

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

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

Request Lenses

uiPayload :: Lens' UsersInsert User Source #

Multipart request metadata.