FirebaseStorage
import { FirebaseStorage } from "https://googleapis.deno.dev/v1/firebasestorage:v1beta.ts";
The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects
§Methods
Links a Google Cloud Storage bucket to a Firebase project.
Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, projects/{project_id_or_number}/buckets/{bucket_id}
.
Lists the linked storage buckets for a project.
Required. Resource name of the parent Firebase project, projects/{project_id_or_number}
.
Unlinks a linked Google Cloud Storage bucket from a Firebase project.
Required. Resource name of the bucket, mirrors the ID of the underlying Google Cloud Storage bucket, projects/{project_id_or_number}/buckets/{bucket_id}
.
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.
Required. The parent resource where the default bucket will be created, projects/{project_id_or_number}
.
Gets the default bucket.
Required. The name of the default bucket to retrieve, projects/{project_id_or_number}/defaultBucket
.