service_account
Creates, updates, deletes, gets or lists a service_account resource.
Overview
| Name | service_account |
| Type | Resource |
| Id | google.storage.service_account |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
email_address | string | The ID of the notification. |
kind | string | The kind of item this is. For notifications, this is always storage#notification. (default: storage#serviceAccount) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectId | userProject | Get 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.
| Name | Datatype | Description |
|---|---|---|
projectId | string | |
userProject | string |
SELECT examples
- get
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 }}'
;