REST Resource: projects.androidApps

Resource: AndroidApp

Details of a Firebase App for Android.

JSON representation
{"name":string,"appId":string,"displayName":string,"projectId":string,"packageName":string,"apiKeyId":string,"state":enum (State),"sha1Hashes":[string],"sha256Hashes":[string],"expireTime":string,"etag":string}
Fields
name

string

The resource name of theAndroidApp, in the format:

projects/PROJECT_IDENTIFIER/androidApps/APP_ID

  • PROJECT_IDENTIFIER: the parent Project'sProjectNumber(recommended) or itsProjectId. Learn more about using project identifiers in Google'sAIP 2510 standard.
    Note that the value forPROJECT_IDENTIFIER in any response body will be theProjectId.
  • APP_ID: the globally unique, Firebase-assigned identifier for the App (seeappId).
appId

string

Output only. Immutable. The globally unique, Firebase-assigned identifier for theAndroidApp.

This identifier should be treated as an opaque token, as the data format is not specified.

displayName

string

The user-assigned display name for theAndroidApp.

projectId

string

Output only. Immutable. A user-assigned unique identifier of the parentFirebaseProject for theAndroidApp.

packageName

string

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

apiKeyId

string

The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with theAndroidApp.

Be aware that this value is the UID of the API key,not thekeyString of the API key. ThekeyString is the value that can be found in the App'sconfiguration artifact.

IfapiKeyId is not set in requests toandroidApps.Create, then Firebase automatically associates anapiKeyId with theAndroidApp. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned.

In patch requests,apiKeyId cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associatedAndroidApp. We recommend using theGoogle Cloud Console to manage API keys.

state

enum (State)

Output only. The lifecycle state of the App.

sha1Hashes[]

string

The SHA1 certificate hashes for theAndroidApp.

sha256Hashes[]

string

The SHA256 certificate hashes for theAndroidApp.

expireTime

string (Timestamp format)

Output only. If the App has been removed from the Project, this is the timestamp of when the App is considered expired and will be permanently deleted. After this time, the App cannot be undeleted (that is, restored to the Project).

This value is only provided if the App is in theDELETED state.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:"2014-10-02T15:01:23Z" and"2014-10-02T15:01:23.045123456Z".

etag

string

This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding.

Learn more aboutetag in Google'sAIP-154 standard.

This etag is strongly validated.

Methods

create

Requests the creation of a newAndroidApp in the specifiedFirebaseProject.

get

Gets the specifiedAndroidApp.

getConfig

Gets the configuration artifact associated with the specifiedAndroidApp.

list

Lists eachAndroidApp associated with the specifiedFirebaseProject.

patch

Updates the attributes of the specifiedAndroidApp.

remove

Removes the specifiedAndroidApp from theFirebaseProject.

undelete

Restores the specifiedAndroidApp to theFirebaseProject.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-24 UTC.