gogol-useraccounts-0.2.0: Google Cloud User Accounts 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.CloudUserAccounts.Users.Insert

Contents

Description

Creates a User resource in the specified project using the data included in the request.

See: Cloud User Accounts API Reference for clouduseraccounts.users.insert.

Synopsis

REST Resource

type UsersInsertResource = "clouduseraccounts" :> ("beta" :> ("projects" :> (Capture "project" Text :> ("global" :> ("users" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Post '[JSON] Operation))))))) Source #

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

Creating a Request

usersInsert Source #

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 #

Creates a User resource in the specified project using the data included in the request.

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.CloudUserAccounts.Users.Insert" "gogol-useraccounts-0.2.0-FoiDBdAMMsmA2pkf0O4Fgx" False) (C1 (MetaCons "UsersInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 User))))
type Scopes UsersInsert Source # 
type Scopes UsersInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud.useraccounts" ([] Symbol))
type Rs UsersInsert Source # 

Request Lenses

uiProject :: Lens' UsersInsert Text Source #

Project ID for this request.

uiPayload :: Lens' UsersInsert User Source #

Multipart request metadata.