Method: projects.androidApps.getConfig

Gets the configuration artifact associated with the specified AndroidApp.

HTTP request

GET https://firebase.googleapis.com/v1beta1/{name=projects/*/androidApps/*/config}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the AndroidApp configuration to download, in the format:

projects/PROJECT_IDENTIFIER/androidApps/APP_ID/config


Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format:

projects/-/androidApps/APP_ID


Refer to the AndroidApp name field for details about PROJECT_IDENTIFIER and APP_ID values.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Configuration metadata of a single Firebase App for Android.

JSON representation
{
  "configFilename": string,
  "configFileContents": string
}
Fields
configFilename

string

The filename that the configuration artifact for the AndroidApp is typically saved as.
For example: google-services.json

configFileContents

string (bytes format)

The contents of the JSON configuration file.

A base64-encoded string.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/firebase.readonly

For more information, see the Authentication Overview.