v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-136613.2 KB
projects

Creates a Spark tier-eligible Cloud Storage bucket and links it to your Firebase project. If the default bucket already exists, this method will re-link it to your Firebase project. See https://firebase.google.com/pricing for pricing details.

post/v1beta/{+parent}/defaultBucket

Path parameters

parentstring required

Required. The parent resource where the default bucket will be created, projects/{project_id_or_number}.

Request body

namestring

Identifier. Resource name of the default bucket.

storageClassstring

Immutable. Storage class of the default bucket. Supported values are available at https://cloud.google.com/storage/docs/storage-classes#classes.

locationstring

Immutable. Location of the default bucket.

Response

Successful response