Skip to main content

settings

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

Overview

Namesettings
TypeResource
Idfirebase.toolresults.settings

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe name of the project's settings. Always of the form: projects/{project-id}/settings In update request: never set In response: always set
defaultBucketstringThe 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:

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

NameDatatypeDescription
projectIdstring

SELECT examples

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;