v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1328122178.2 KB
projects

Imports data to the cluster. Imperative only.

post/v1/{+name}:import

Path parameters

namestring required

Required. The resource name of the cluster.

Request body

userstring

Optional. Database user to be used for importing the data. Note - Value provided should be the same as expected from SELECT current_user; and NOT as a resource reference.

gcsUristring

Required. The path to the file in Google Cloud Storage where the source file for import will be stored. The URI is in the form gs://bucketName/fileName.

databasestring

Optional. Name of the database to which the import will be done. For import from SQL file, this is required only if the file does not specify a database. Note - Value provided should be the same as expected from SELECT current_database(); and NOT as a resource reference.

sqlImportOptionsSqlImportOptions

Options for importing data in SQL format.

Response

Successful response