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 |
Deletes a ServiceAccountKey.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.keys.delete
.
Synopsis
- type ProjectsServiceAccountsKeysDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsServiceAccountsKeysDelete :: Text -> ProjectsServiceAccountsKeysDelete
- data ProjectsServiceAccountsKeysDelete
- psakdXgafv :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Xgafv)
- psakdUploadProtocol :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text)
- psakdAccessToken :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text)
- psakdUploadType :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text)
- psakdName :: Lens' ProjectsServiceAccountsKeysDelete Text
- psakdCallback :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text)
REST Resource
type ProjectsServiceAccountsKeysDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for iam.projects.serviceAccounts.keys.delete
method which the
ProjectsServiceAccountsKeysDelete
request conforms to.
Creating a Request
projectsServiceAccountsKeysDelete Source #
Creates a value of ProjectsServiceAccountsKeysDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsKeysDelete Source #
Deletes a ServiceAccountKey.
See: projectsServiceAccountsKeysDelete
smart constructor.
Instances
Request Lenses
psakdXgafv :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Xgafv) Source #
V1 error format.
psakdUploadProtocol :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psakdAccessToken :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text) Source #
OAuth access token.
psakdUploadType :: Lens' ProjectsServiceAccountsKeysDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psakdName :: Lens' ProjectsServiceAccountsKeysDelete 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.