Перейти к консоли

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 App configuration to download, in the format:

projects/projectId/androidApps/appId/config


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

projects/-/androidApps/appId

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 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 the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!