Go to console

Callable

  • Gets the Storage service for the default app or a given app.

    admin.storage() can be called with no arguments to access the default app's Storage service or as admin.storage(app) to access the Storage service associated with a specific app.

    example
    // Get the Storage service for the default app
    var defaultStorage = admin.storage();
    example
    // Get the Storage service for a given app
    var otherStorage = admin.storage(otherApp);

    Parameters

    • Optional app: App

    Returns Storage

Index

Interfaces