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:

Successful response

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

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

SELECT
email,
kind
FROM google.bigquery.service_account
WHERE projectId = '{{ projectId }}' -- required;