Databases: get

Requires authorization

Retrieves a resource containing information about a database inside a Cloud SQL instance.

Request

HTTP request

GET https://www.googleapis.com/sql/v1beta4/projects/project/instances/instance/databases/database

Parameters

Parameter name Value Description
Path parameters
database string Name of the database in the instance.
instance string Database instance ID. This does not include the project ID.
project string Project ID of the project that contains the instance.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/sqlservice.admin
https://www.googleapis.com/auth/cloud-platform

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a database resource in the response body.

Send feedback about...

Cloud SQL for MySQL