service_account
Creates, updates, deletes, gets or lists a service_account resource.
Overview
| Name | service_account |
| Type | Resource |
| Id | google.accessapproval.service_account |
Fields
The following fields are returned by SELECT queries:
- projects_get_service_account
- folders_get_service_account
- organizations_get_service_account
| Name | Datatype | Description |
|---|---|---|
name | string | The resource name of the Access Approval service account. Format is one of: * "projects/{project}/serviceAccount" * "folders/{folder}/serviceAccount" * "organizations/{organization}/serviceAccount" |
accountEmail | string | Email address of the service account. |
| Name | Datatype | Description |
|---|---|---|
name | string | The resource name of the Access Approval service account. Format is one of: * "projects/{project}/serviceAccount" * "folders/{folder}/serviceAccount" * "organizations/{organization}/serviceAccount" |
accountEmail | string | Email address of the service account. |
| Name | Datatype | Description |
|---|---|---|
name | string | The resource name of the Access Approval service account. Format is one of: * "projects/{project}/serviceAccount" * "folders/{folder}/serviceAccount" * "organizations/{organization}/serviceAccount" |
accountEmail | string | Email address of the service account. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_get_service_account | select | projectsId | Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests. | |
folders_get_service_account | select | foldersId | Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests. | |
organizations_get_service_account | select | organizationsId | Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
foldersId | string | |
organizationsId | string | |
projectsId | string |
SELECT examples
- projects_get_service_account
- folders_get_service_account
- organizations_get_service_account
Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
SELECT
name,
accountEmail
FROM google.accessapproval.service_account
WHERE projectsId = '{{ projectsId }}' -- required
;
Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
SELECT
name,
accountEmail
FROM google.accessapproval.service_account
WHERE foldersId = '{{ foldersId }}' -- required
;
Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.
SELECT
name,
accountEmail
FROM google.accessapproval.service_account
WHERE organizationsId = '{{ organizationsId }}' -- required
;