gogol-iam-0.5.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.SignBlob

Contents

Description

  • *Note**: This method is in the process of being deprecated. Call the `signBlob()` method of the Cloud IAM Service Account Credentials API instead. Signs a blob using a service account's system-managed private key.

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

Synopsis

REST Resource

type ProjectsServiceAccountsSignBlobResource = "v1" :> (CaptureMode "name" "signBlob" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SignBlobRequest :> Post '[JSON] SignBlobResponse)))))))) Source #

A resource alias for iam.projects.serviceAccounts.signBlob method which the ProjectsServiceAccountsSignBlob request conforms to.

Creating a Request

projectsServiceAccountsSignBlob Source #

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

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

data ProjectsServiceAccountsSignBlob Source #

  • *Note**: This method is in the process of being deprecated. Call the `signBlob()` method of the Cloud IAM Service Account Credentials API instead. Signs a blob using a service account's system-managed private key.

See: projectsServiceAccountsSignBlob smart constructor.

Instances
Eq ProjectsServiceAccountsSignBlob Source # 
Instance details

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

Data ProjectsServiceAccountsSignBlob Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsServiceAccountsSignBlob -> Constr #

dataTypeOf :: ProjectsServiceAccountsSignBlob -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsServiceAccountsSignBlob Source # 
Instance details

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

Generic ProjectsServiceAccountsSignBlob Source # 
Instance details

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

Associated Types

type Rep ProjectsServiceAccountsSignBlob :: Type -> Type #

GoogleRequest ProjectsServiceAccountsSignBlob Source # 
Instance details

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

type Rep ProjectsServiceAccountsSignBlob Source # 
Instance details

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

type Rep ProjectsServiceAccountsSignBlob = D1 (MetaData "ProjectsServiceAccountsSignBlob" "Network.Google.Resource.IAM.Projects.ServiceAccounts.SignBlob" "gogol-iam-0.5.0-AhgHzkqUbFwIp2TGTeE7eX" False) (C1 (MetaCons "ProjectsServiceAccountsSignBlob'" PrefixI True) ((S1 (MetaSel (Just "_psasbXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psasbUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psasbAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psasbUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psasbPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SignBlobRequest)) :*: (S1 (MetaSel (Just "_psasbName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psasbCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsServiceAccountsSignBlob Source # 
Instance details

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

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

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

Request Lenses

psasbUploadProtocol :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) Source #

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

psasbUploadType :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) Source #

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

psasbName :: Lens' ProjectsServiceAccountsSignBlob 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.