Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. BackupRuns
  2. Flags
  3. Instances
  4. Operations
  5. SslCerts
  6. Tiers

BackupRuns

For BackupRuns Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/sql/v1beta3, unless otherwise noted
get GET  /projects/ project /instances/ instance /backupRuns/ backupConfiguration Retrieves information about a specified backup run for a Cloud SQL instance.

Required query parameters: dueTime
list GET  /projects/ project /instances/ instance /backupRuns Lists all backup runs associated with a Cloud SQL instance.

Required query parameters: backupConfiguration

Flags

For Flags Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/sql/v1beta3, unless otherwise noted
list GET  /flags Lists all database flags that can be set for Google Cloud SQL instances.

Instances

For Instances Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/sql/v1beta3, unless otherwise noted
clone POST  /projects/ project /instances/clone Creates a Cloud SQL instance as a clone of a source instance.
delete DELETE  /projects/ project /instances/ instance Deletes a Cloud SQL instance.
export POST  /projects/ project /instances/ instance /export Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a MySQL dump file.
get GET  /projects/ project /instances/ instance Retrieves information about a Cloud SQL instance.
import POST  /projects/ project /instances/ instance /import Imports data into a Cloud SQL instance from a MySQL dump file stored in a Google Cloud Storage bucket.
insert POST  /projects/ project /instances Creates a new Cloud SQL instance.
list GET  /projects/ project /instances Lists instances for a given project, in alphabetical order by instance name.
patch PATCH  /projects/ project /instances/ instance Updates the settings of a Cloud SQL instance. This method supports patch semantics.
resetSslConfig POST  /projects/ project /instances/ instance /resetSslConfig Deletes all client certificates and generates a new server SSL certificate for a Cloud SQL instance.
restart POST  /projects/ project /instances/ instance /restart Restarts a Cloud SQL instance.
restoreBackup POST  /projects/ project /instances/ instance /restoreBackup Restores a backup of a Cloud SQL instance.

Required query parameters: backupConfiguration , dueTime
setRootPassword POST  /projects/ project /instances/ instance /setRootPassword Sets the password for the root user of the specified Cloud SQL instance.
update PUT  /projects/ project /instances/ instance Updates the settings of a Cloud SQL instance.

Operations

For Operations Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/sql/v1beta3, unless otherwise noted
get GET  /projects/ project /instances/ instance /operations/ operation Retrieves information about a specific operation that was performed on a Cloud SQL instance.
list GET  /projects/ project /instances/ instance /operations Lists all operations that have been performed on a Cloud SQL instance.

SslCerts

For SslCerts Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/sql/v1beta3, unless otherwise noted
delete DELETE  /projects/ project /instances/ instance /sslCerts/ sha1Fingerprint Deletes an SSL certificate from a Cloud SQL instance.
get GET  /projects/ project /instances/ instance /sslCerts/ sha1Fingerprint Retrieves an SSL certificate as specified by its SHA-1 fingerprint.
insert POST  /projects/ project /instances/ instance /sslCerts Creates an SSL certificate and returns the certificate, the associated private key, and the server certificate authority.
list GET  /projects/ project /instances/ instance /sslCerts Lists all of the current SSL certificates defined for a Cloud SQL instance.

Tiers

For Tiers Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/sql/v1beta3, unless otherwise noted
list GET  /projects/ project /tiers Lists service tiers that can be used to create Google Cloud SQL instances.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.