Skip to main content

databases

Overview

Namedatabases
TypeResource
Idgoogle.sqladmin.databases

Fields

NameDatatypeDescription
namestringThe name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
projectstringThe project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
sqlserverDatabaseDetailsobjectRepresents a Sql Server database on the Cloud SQL instance.
charsetstringThe Cloud SQL charset value.
kindstringThis is always sql#database.
collationstringThe Cloud SQL collation value.
instancestringThe name of the Cloud SQL instance. This does not include the project ID.
etagstringThis field is deprecated and will be removed from a future version of the API.
selfLinkstringThe URI of this resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdatabase, instance, projectRetrieves a resource containing information about a database inside a Cloud SQL instance.
listSELECTinstance, projectLists databases in the specified Cloud SQL instance.
insertINSERTinstance, projectInserts a resource containing information about a database inside a Cloud SQL instance. Note: You can't modify the default character set and collation.
deleteDELETEdatabase, instance, projectDeletes a database from a Cloud SQL instance.
patchEXECdatabase, instance, projectPartially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.
updateEXECdatabase, instance, projectUpdates a resource containing information about a database inside a Cloud SQL instance.