gogol-iam-0.4.0: Google Identity and Access Management (IAM) 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.IAM.Projects.ServiceAccounts.Create

Contents

Description

Creates a ServiceAccount and returns it.

See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.create.

Synopsis

REST Resource

type ProjectsServiceAccountsCreateResource = "v1" :> (Capture "name" Text :> ("serviceAccounts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateServiceAccountRequest :> Post '[JSON] ServiceAccount))))))))) Source #

A resource alias for iam.projects.serviceAccounts.create method which the ProjectsServiceAccountsCreate request conforms to.

Creating a Request

projectsServiceAccountsCreate Source #

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

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

data ProjectsServiceAccountsCreate Source #

Creates a ServiceAccount and returns it.

See: projectsServiceAccountsCreate smart constructor.

Instances
Eq ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

Data ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

Methods

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

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

toConstr :: ProjectsServiceAccountsCreate -> Constr #

dataTypeOf :: ProjectsServiceAccountsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

Generic ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

Associated Types

type Rep ProjectsServiceAccountsCreate :: Type -> Type #

GoogleRequest ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

type Rep ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

type Rep ProjectsServiceAccountsCreate = D1 (MetaData "ProjectsServiceAccountsCreate" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Create" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsCreate'" PrefixI True) ((S1 (MetaSel (Just "_psacXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psacUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psacAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psacUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psacPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateServiceAccountRequest)) :*: (S1 (MetaSel (Just "_psacName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psacCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

type Scopes ProjectsServiceAccountsCreate = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsServiceAccountsCreate Source # 
Instance details

Defined in Network.Google.Resource.IAM.Projects.ServiceAccounts.Create

Request Lenses

psacUploadProtocol :: Lens' ProjectsServiceAccountsCreate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

psacUploadType :: Lens' ProjectsServiceAccountsCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

psacName :: Lens' ProjectsServiceAccountsCreate Text Source #

Required. The resource name of the project associated with the service accounts, such as `projects/my-project-123`.