Перейти к консоли

The Firebase Storage service interface.

Do not call this constructor directly. Instead, use firebase.storage().

See Get Started on Web for a full guide on how to use the Firebase Storage service.

Index

Properties

app

app: App

The app associated with the Storage service instance.

example
var app = storage.app;

maxOperationRetryTime

maxOperationRetryTime: number

The maximum time to retry operations other than uploads or downloads in milliseconds.

maxUploadRetryTime

maxUploadRetryTime: number

The maximum time to retry uploads in milliseconds.

Methods

ref

  • ref(path?: string): Reference
  • Returns a reference for the given path in the default bucket.

    Parameters

    • Optional path: string

      A relative path to initialize the reference with, for example path/to/image.jpg. If not passed, the returned reference points to the bucket root.

    Returns Reference

    A reference for the given path.