ImportClusterRequest
import type { ImportClusterRequest } from "https://googleapis.deno.dev/v1/alloydb:v1.ts";
Import cluster request.
interface ImportClusterRequest {
csvImportOptions?: CsvImportOptions;
database?: string;
gcsUri?: string;
sqlImportOptions?: SqlImportOptions;
user?: string;
}§Properties
§
csvImportOptions?: CsvImportOptions
[src]Options for importing data in CSV format.
§
database?: string
[src]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.
§
gcsUri?: string
[src]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
.
§
sqlImportOptions?: SqlImportOptions
[src]Options for importing data in SQL format.