settings
Creates, updates, deletes, gets or lists a settings resource.
Overview
| Name | settings |
| Type | Resource |
| Id | firebase.toolresults.settings |
Fields
The following fields are returned by SELECT queries:
- get_settings
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the project's settings. Always of the form: projects/{project-id}/settings In update request: never set In response: always set |
defaultBucket | string | The name of the Google Cloud Storage bucket to which results are written. By default, this is unset. In update request: optional In response: optional |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_settings | select | projectId | Gets the Tool Results settings for a project. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from project |
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_settings
Gets the Tool Results settings for a project. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from project
SELECT
name,
defaultBucket
FROM firebase.toolresults.settings
WHERE projectId = '{{ projectId }}' -- required
;