v1

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

Inserts a resource containing information about a database inside a Cloud SQL instance. Note: You can't modify the default character set and collation.

post/v1/projects/{project}/instances/{instance}/databases

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.

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