- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- InstancesImportRequest
- Examples
- Try it!
SQL Server, private server access, HDD, data cache, legacy HA, serverless exports, multi-region backups, cross-region replicas are not supported.
Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.
HTTP request
POST https://sqladmin.s3nsapis.fr/v1/projects/{project}/instances/{instance}/import
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
project |
Project ID of the project that contains the instance. |
instance |
Cloud SQL instance ID. This does not include the project ID. |
Request body
The request body contains an instance of InstancesImportRequest.
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/sqlservice.adminhttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
InstancesImportRequest
Database instance import request.
| JSON representation |
|---|
{
"importContext": {
object ( |
| Fields | |
|---|---|
importContext |
Contains details about the import operation. |