Classes

Class Description
AndroidApp A reference to a Firebase Android app.Do not call this constructor directly. Instead, use [projectManagement.androidApp()](projectManagement.ProjectManagement#androidApp).
IosApp A reference to a Firebase iOS app.Do not call this constructor directly. Instead, use [projectManagement.iosApp()](projectManagement.ProjectManagement#iosApp).
ProjectManagement The Firebase ProjectManagement service interface.Do not call this constructor directly. Instead, use [admin.projectManagement()](projectManagement#projectManagement).
ShaCertificate A SHA-1 or SHA-256 certificate.Do not call this constructor directly. Instead, use [projectManagement.shaCertificate()](projectManagement.ProjectManagement#shaCertificate).

Enumerations

Enumeration Description
AppPlatform Platforms with which a Firebase App can be associated.

Functions

Function Description
getProjectManagement(app) Gets the service for the default app or a given app.getProjectManagement() can be called with no arguments to access the default app's service, or as getProjectManagement(app) to access the service associated with a specific app.

Interfaces

Interface Description
AndroidAppMetadata Metadata about a Firebase Android App.
AppMetadata Metadata about a Firebase app.
IosAppMetadata Metadata about a Firebase iOS App.

getProjectManagement()

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

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

Signature:

export declare function getProjectManagement(app?: App): ProjectManagement;

Parameters

Parameter Type Description
app App Optional app whose ProjectManagement service to return. If not provided, the default ProjectManagement service will be returned. * The default ProjectManagement service if no app is provided or the ProjectManagement service associated with the provided app.

Returns:

ProjectManagement

Example 1

// Get the ProjectManagement service for the default app
const defaultProjectManagement = getProjectManagement();

Example 2

// Get the ProjectManagement service for a given app
const otherProjectManagement = getProjectManagement(otherApp);

AppPlatform

Platforms with which a Firebase App can be associated.

Signature:

export declare enum AppPlatform 

Enumeration Members

Member Value Description
ANDROID "ANDROID" The Firebase App is associated with Android.
IOS "IOS" The Firebase App is associated with iOS.
PLATFORM_UNKNOWN "PLATFORM_UNKNOWN" Unknown state. This is only used for distinguishing unset values.