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.Keys.Create

Contents

Description

Creates a ServiceAccountKey and returns it.

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

Synopsis

REST Resource

type ProjectsServiceAccountsKeysCreateResource = "v1" :> (Capture "name" Text :> ("keys" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateServiceAccountKeyRequest :> Post '[JSON] ServiceAccountKey))))))))) Source #

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

Creating a Request

data ProjectsServiceAccountsKeysCreate Source #

Creates a ServiceAccountKey and returns it.

See: projectsServiceAccountsKeysCreate smart constructor.

Instances
Eq ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

Data ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsServiceAccountsKeysCreate -> Constr #

dataTypeOf :: ProjectsServiceAccountsKeysCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

Generic ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsServiceAccountsKeysCreate :: Type -> Type #

GoogleRequest ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

type Rep ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

type Rep ProjectsServiceAccountsKeysCreate = D1 (MetaData "ProjectsServiceAccountsKeysCreate" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Keys.Create" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsKeysCreate'" PrefixI True) ((S1 (MetaSel (Just "_psakcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psakcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psakcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psakcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psakcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateServiceAccountKeyRequest)) :*: (S1 (MetaSel (Just "_psakcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psakcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsKeysCreate Source # 
Instance details

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

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

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

Request Lenses

psakcUploadProtocol :: Lens' ProjectsServiceAccountsKeysCreate (Maybe Text) Source #

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

psakcUploadType :: Lens' ProjectsServiceAccountsKeysCreate (Maybe Text) Source #

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

psakcName :: Lens' ProjectsServiceAccountsKeysCreate Text Source #

The resource name of the service account in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can be the `email` address or the `unique_id` of the service account.