Method: projects.locations.instances.export

Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.

HTTP request

POST https://sqladmin.googleapis.com/v1/{parent=projects/*/locations/*/instances/*}/export

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource where Cloud SQL exports this database instance. Format: projects/{project}/locations/{location}/instances/{instance}

project: Project ID of the project that contains the instance to be exported. instance: Cloud SQL instance ID. This does not include the project ID.

Request body

The request body contains an instance of InstancesExportRequest.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

InstancesExportRequest

Database instance export request.

JSON representation
{
  "exportContext": {
    object (ExportContext)
  }
}
Fields
exportContext

object (ExportContext)

Contains details about the export operation.