v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1375137252.2 KB
databases

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

put/v1/projects/{project}/instances/{instance}/databases/{database}

Path parameters

projectstring required

Project ID of the project that contains the instance.

instancestring required

Database instance ID. This does not include the project ID.

databasestring required

Name of the database to be updated in the instance.

Request body

namestring

The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.

etagstring

This field is deprecated and will be removed from a future version of the API.

kindstring

This is always sql#database.

selfLinkstring

The URI of this resource.

instancestring

The name of the Cloud SQL instance. This does not include the project ID.

charsetstring

The Cloud SQL charset value.

collationstring

The Cloud SQL collation value.

projectstring

The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.

Response

Successful response