Gets the configuration artifact associated with the specified FirebaseProject
, which can be used by servers to simplify initialization.
Typically, this configuration is used with the Firebase Admin SDK initializeApp command.
HTTP request
GET https://firebase.googleapis.com/v1beta1/{name=projects/*/adminSdkConfig}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The resource name of the
Refer to the |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "projectId": string, "databaseURL": string, "storageBucket": string, "locationId": string } |
Fields | |
---|---|
projectId |
Immutable. A user-assigned unique identifier for the |
databaseURL |
The default Firebase Realtime Database URL. |
storageBucket |
The default Cloud Storage for Firebase storage bucket name. |
locationId |
The ID of the Project's default GCP resource location. The location is one of the available GCP resource locations. This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call |
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.