Firebase Cloud Storage module.

This module contains utilities for accessing Google Cloud Storage buckets associated with Firebase apps. This requires the google-cloud-storage Python module.


bucket, app=None)

Returns a handle to a Google Cloud Storage bucket.

If the name argument is not provided, uses the ‘storageBucket’ option specified when initializing the App. If that is also not available raises an error. This function does not make any RPC calls.

  • name – Name of a cloud storage bucket (optional).
  • app – An App instance (optional).

A handle to the specified bucket.

Return type:


ValueError – If a bucket name is not specified either via options or method arguments, or if the specified bucket name is not a valid string.