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

Contents

Description

Gets the ServiceAccountKey by key id.

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

Synopsis

REST Resource

type ProjectsServiceAccountsKeysGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "publicKeyType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ServiceAccountKey)))))))) Source #

A resource alias for iam.projects.serviceAccounts.keys.get method which the ProjectsServiceAccountsKeysGet request conforms to.

Creating a Request

projectsServiceAccountsKeysGet Source #

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

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

data ProjectsServiceAccountsKeysGet Source #

Gets the ServiceAccountKey by key id.

See: projectsServiceAccountsKeysGet smart constructor.

Instances
Eq ProjectsServiceAccountsKeysGet Source # 
Instance details

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

Data ProjectsServiceAccountsKeysGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsServiceAccountsKeysGet -> Constr #

dataTypeOf :: ProjectsServiceAccountsKeysGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsKeysGet Source # 
Instance details

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

Generic ProjectsServiceAccountsKeysGet Source # 
Instance details

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

Associated Types

type Rep ProjectsServiceAccountsKeysGet :: Type -> Type #

GoogleRequest ProjectsServiceAccountsKeysGet Source # 
Instance details

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

type Rep ProjectsServiceAccountsKeysGet Source # 
Instance details

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

type Rep ProjectsServiceAccountsKeysGet = D1 (MetaData "ProjectsServiceAccountsKeysGet" "Network.Google.Resource.IAM.Projects.ServiceAccounts.Keys.Get" "gogol-iam-0.4.0-IBWwIZHvdU38fPF72JMuUn" False) (C1 (MetaCons "ProjectsServiceAccountsKeysGet'" PrefixI True) ((S1 (MetaSel (Just "_psakgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psakgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psakgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psakgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psakgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_psakgPublicKeyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psakgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsKeysGet Source # 
Instance details

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

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

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

Request Lenses

psakgUploadProtocol :: Lens' ProjectsServiceAccountsKeysGet (Maybe Text) Source #

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

psakgUploadType :: Lens' ProjectsServiceAccountsKeysGet (Maybe Text) Source #

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

psakgName :: Lens' ProjectsServiceAccountsKeysGet Text Source #

The resource name of the service account key in the following format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. 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.

psakgPublicKeyType :: Lens' ProjectsServiceAccountsKeysGet (Maybe Text) Source #

The output format of the public key requested. X509_PEM is the default output format.