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 ServiceAccount.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.delete
.
Synopsis
- type ProjectsServiceAccountsDeleteResource = "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)))))))
- projectsServiceAccountsDelete :: Text -> ProjectsServiceAccountsDelete
- data ProjectsServiceAccountsDelete
- psadXgafv :: Lens' ProjectsServiceAccountsDelete (Maybe Xgafv)
- psadUploadProtocol :: Lens' ProjectsServiceAccountsDelete (Maybe Text)
- psadAccessToken :: Lens' ProjectsServiceAccountsDelete (Maybe Text)
- psadUploadType :: Lens' ProjectsServiceAccountsDelete (Maybe Text)
- psadName :: Lens' ProjectsServiceAccountsDelete Text
- psadCallback :: Lens' ProjectsServiceAccountsDelete (Maybe Text)
REST Resource
type ProjectsServiceAccountsDeleteResource = "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.delete
method which the
ProjectsServiceAccountsDelete
request conforms to.
Creating a Request
projectsServiceAccountsDelete Source #
Creates a value of ProjectsServiceAccountsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsDelete Source #
Deletes a ServiceAccount.
See: projectsServiceAccountsDelete
smart constructor.
Instances
Request Lenses
psadUploadProtocol :: Lens' ProjectsServiceAccountsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psadAccessToken :: Lens' ProjectsServiceAccountsDelete (Maybe Text) Source #
OAuth access token.
psadUploadType :: Lens' ProjectsServiceAccountsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psadName :: Lens' ProjectsServiceAccountsDelete 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.
psadCallback :: Lens' ProjectsServiceAccountsDelete (Maybe Text) Source #
JSONP