Method: projects.locations.instances.get

Gets the DatabaseInstance identified by the specified resource name.

HTTP request

GET https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}.

database-id is a globally unique identifier across all parent collections. For convenience, this method allows you to supply - as a wildcard character in place of specific collections under projects and locations. The resulting wildcarding form of the method is: projects/-/locations/-/instances/{database-id}.

Authorization requires the following IAM permission on the specified resource name:

  • firebasedatabase.instances.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DatabaseInstance.

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.