Skip to main content

service_account

Creates, updates, deletes, gets or lists a service_account resource.

Overview

Nameservice_account
TypeResource
Idgoogle.bigquery.service_account

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
emailstringThe service account email address.
kindstringThe resource type of the response. (default: bigquery#getServiceAccountResponse)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_service_accountselectprojectIdRPC 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.

NameDatatypeDescription
projectIdstring

SELECT examples

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
;