Resource: DefaultBucket
The default Cloud Storage for Firebase bucket for the Firebase project. This resource exists if the underlying Cloud Storage bucket exists and it's linked to the Firebase project. One per project.
The bucket name format and pricing plan requirements depend on when the bucket was provisioned:
- If provisioned before October 30, 2024: The bucket name format is
{PROJECT_ID}.appspot.com
, and access to the bucket will require the pay-as-you-go Blaze pricing plan starting October 1, 2025. - If provisioned on or after October 30, 2024: The bucket name format is
{PROJECT_ID}.firebasestorage.app
, and access to the bucket requires the pay-as-you-go Blaze pricing plan.
JSON representation |
---|
{
"name": string,
"location": string,
"bucket": {
object ( |
Fields | |
---|---|
name |
Resource name of the default bucket. |
location |
Immutable. Location of the default bucket. This location depends on when the default bucket was provisioned:
|
bucket |
Output only. Underlying bucket resource. |
Methods |
|
---|---|
|
Creates the default Cloud Storage bucket and links it to the specified Firebase project. |