instances

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

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

Request

  • Base URL: https://sqladmin.googleapis.com
  • URL: https://sqladmin.googleapis.com/v1/projects/{project}/instances/{instance}/export
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

projectstring required

Project ID of the project that contains the instance to be exported.

instancestring required

Cloud SQL instance ID. This does not include the project ID.

Query parameters

locationstring

Optional. Region of the Cloud SQL instance.

Request body

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • warning

      added the new CREATE_BLUE_GREEN_DEPLOYMENT enum value to the response property for the response status

    • warning

      added the new DELETE_BLUE_GREEN_DEPLOYMENT enum value to the response property for the response status

    • warning

      added the new SWITCHOVER_BLUE_GREEN_DEPLOYMENT enum value to the response property for the response status

    • info

      added the new optional query request parameter location

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status