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: Google Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.signBlob
.
- type ProjectsServiceAccountsSignBlobResource = "v1" :> (CaptureMode "name" "signBlob" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SignBlobRequest :> Post '[JSON] SignBlobResponse))))))))))
- projectsServiceAccountsSignBlob :: SignBlobRequest -> Text -> ProjectsServiceAccountsSignBlob
- data ProjectsServiceAccountsSignBlob
- psasbXgafv :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbUploadProtocol :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbPp :: Lens' ProjectsServiceAccountsSignBlob Bool
- psasbAccessToken :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbUploadType :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbPayload :: Lens' ProjectsServiceAccountsSignBlob SignBlobRequest
- psasbBearerToken :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
- psasbName :: Lens' ProjectsServiceAccountsSignBlob Text
- psasbCallback :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text)
REST Resource
type ProjectsServiceAccountsSignBlobResource = "v1" :> (CaptureMode "name" "signBlob" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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.
Request Lenses
psasbXgafv :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) 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.
psasbBearerToken :: Lens' ProjectsServiceAccountsSignBlob (Maybe Text) Source #
OAuth bearer token.
psasbName :: Lens' ProjectsServiceAccountsSignBlob Text Source #
The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.