Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- projectsServiceAccountsSignBlob :: SignBlobRequest -> Text -> ProjectsServiceAccountsSignBlob
- data ProjectsServiceAccountsSignBlob
- psasbXgafv :: Lens' ProjectsServiceAccountsSignBlob (Maybe Xgafv)
- psasbUploadProtocol :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbAccessToken :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbUploadType :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbPayload :: Lens' ProjectsServiceAccountsSignBlob SignBlobRequest
- psasbName :: Lens' ProjectsServiceAccountsSignBlob Text
- psasbCallback :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
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 #
Signs a blob using a service account's system-managed private key.
See: projectsServiceAccountsSignBlob
smart constructor.
Instances
Request Lenses
psasbXgafv :: Lens' ProjectsServiceAccountsSignBlob (Maybe Xgafv) Source #
V1 error format.
psasbUploadProtocol :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psasbAccessToken :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) Source #
OAuth access token.
psasbUploadType :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psasbPayload :: Lens' ProjectsServiceAccountsSignBlob SignBlobRequest Source #
Multipart request metadata.
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.