Skip to main content

service_account

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

Overview​

Nameservice_account
TypeResource
Idgoogle.storage.service_account

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
email_addressstringThe ID of the notification.
kindstringThe kind of item this is. For notifications, this is always storage#notification. (default: storage#serviceAccount)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectIduserProjectGet the email address of this project's Google Cloud Storage service account.

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
userProjectstring

SELECT examples​

Get the email address of this project's Google Cloud Storage service account.

SELECT
email_address,
kind
FROM google.storage.service_account
WHERE projectId = '{{ projectId }}' -- required
AND userProject = '{{ userProject }}'
;