Property

app

non-null admin.app.App

The app associated with the current ProjectManagement service instance.

Example

var app = projectManagement.app;

Methods

androidApp

androidApp(appId) returns admin.projectManagement.AndroidApp

Creates an AndroidApp object, referencing the specified Android app within this Firebase project.

This method does not perform an RPC.

Parameter

appId

string

The appId of the Android app to reference.

Value must not be null.

Returns

non-null admin.projectManagement.AndroidApp An AndroidApp object that references the specified Firebase Android app.

createAndroidApp

createAndroidApp(packageName, displayName) returns Promise containing admin.projectManagement.AndroidApp

Creates a new Firebase Android app, associated with this Firebase project.

Parameter

packageName

string

The canonical package name of the Android App, as would appear in the Google Play Developer Console.

Value must not be null.

displayName

Optional

string

An optional user-assigned display name for this new app.

Value must not be null.

Returns

non-null Promise containing admin.projectManagement.AndroidApp A promise that resolves to the newly created Android app.

createIosApp

createIosApp(bundleId, displayName) returns Promise containing admin.projectManagement.IosApp

Creates a new Firebase iOS app, associated with this Firebase project.

Parameter

bundleId

string

The iOS app bundle ID to use for this new app.

Value must not be null.

displayName

Optional

string

An optional user-assigned display name for this new app.

Value must not be null.

Returns

non-null Promise containing admin.projectManagement.IosApp A promise that resolves to the newly created iOS app.

iosApp

iosApp(appId) returns admin.projectManagement.IosApp

Creates an IosApp object, referencing the specified iOS app within this Firebase project.

This method does not perform an RPC.

Parameter

appId

string

The appId of the iOS app to reference.

Value must not be null.

Returns

non-null admin.projectManagement.IosApp An IosApp object that references the specified Firebase iOS app.

listAndroidApps

listAndroidApps() returns Promise containing Array of admin.projectManagement.AndroidApp

Lists up to 100 Firebase Android apps associated with this Firebase project.

Returns

non-null Promise containing Array of admin.projectManagement.AndroidApp The list of Android apps.

listIosApps

listIosApps() returns Promise containing Array of admin.projectManagement.IosApp

Lists up to 100 Firebase iOS apps associated with this Firebase project.

Returns

non-null Promise containing Array of admin.projectManagement.IosApp The list of iOS apps.

shaCertificate

shaCertificate(shaHash) returns admin.projectManagement.ShaCertificate

Creates a ShaCertificate object.

This method does not perform an RPC.

Parameter

shaHash

string

The SHA-1 or SHA-256 hash for this certificate.

Value must not be null.

Returns

non-null admin.projectManagement.ShaCertificate A ShaCertificate object contains the specified SHA hash.