Class ImportClusterRequest
Import cluster request.
Implements
Inherited Members
Namespace: Google.Apis.CloudAlloyDBAdmin.v1.Data
Assembly: Google.Apis.CloudAlloyDBAdmin.v1.dll
Syntax
public class ImportClusterRequest : IDirectResponseSchema
Properties
CsvImportOptions
Options for importing data in CSV format.
Declaration
[JsonProperty("csvImportOptions")]
public virtual CsvImportOptions CsvImportOptions { get; set; }
Property Value
Type | Description |
---|---|
CsvImportOptions |
Database
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.
Declaration
[JsonProperty("database")]
public virtual string Database { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GcsUri
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
.
Declaration
[JsonProperty("gcsUri")]
public virtual string GcsUri { get; set; }
Property Value
Type | Description |
---|---|
string |
SqlImportOptions
Options for importing data in SQL format.
Declaration
[JsonProperty("sqlImportOptions")]
public virtual SqlImportOptions SqlImportOptions { get; set; }
Property Value
Type | Description |
---|---|
SqlImportOptions |
User
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.
Declaration
[JsonProperty("user")]
public virtual string User { get; set; }
Property Value
Type | Description |
---|---|
string |