Skip to main content

buckets_firebase

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

Overview

Namebuckets_firebase
TypeResource
Idfirebase.storage.buckets_firebase

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
add_firebaseinsertprojectsId, bucketsIdLinks a Google Cloud Storage bucket to a Firebase project.
remove_firebasedeleteprojectsId, bucketsIdUnlinks a linked Google Cloud Storage bucket from a Firebase 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
bucketsIdstring
projectsIdstring

INSERT examples

Links a Google Cloud Storage bucket to a Firebase project.

INSERT INTO firebase.storage.buckets_firebase (
projectsId,
bucketsId
)
SELECT
'{{ projectsId }}',
'{{ bucketsId }}'
RETURNING
name
;

DELETE examples

Unlinks a linked Google Cloud Storage bucket from a Firebase project.

DELETE FROM firebase.storage.buckets_firebase
WHERE projectsId = '{{ projectsId }}' --required
AND bucketsId = '{{ bucketsId }}' --required;