Databases: list

Requires authorization

Lists databases in the specified Cloud SQL instance.

Request

HTTP request

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

Parameters

Parameter name Value Description
Path parameters
instance string Cloud SQL 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 response body with the following structure:

{
  "kind": "sql#databasesList",
  "items": [
    databases Resource
  ]
}
Property name Value Description Notes
kind string This is always sql#databasesList.
items[] list List of database resources in the instance.
Esta página foi útil? Conte sua opinião sobre:

Enviar comentários sobre…

Cloud SQL for MySQL