service_account
Creates, updates, deletes, gets or lists a service_account resource.
Overview
| Name | service_account |
| Type | Resource |
| Id | google.bigquery.service_account |
Fields
The following fields are returned by SELECT queries:
- get_service_account
| Name | Datatype | Description |
|---|---|---|
email | string | The service account email address. |
kind | string | The resource type of the response. (default: bigquery#getServiceAccountResponse) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_service_account | select | projectId | RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the bigquery.jobs.create permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration. |
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 |
|---|---|---|
projectId | string |
SELECT examples
- get_service_account
RPC to get the service account for a project used for interactions with Google Cloud KMS. Requires the bigquery.jobs.create permission on the project resource. This permission is required to authorize the retrieval of the project's service identity for technical management tasks like encryption configuration.
SELECT
email,
kind
FROM google.bigquery.service_account
WHERE projectId = '{{ projectId }}' -- required
;