Class ImportContext
Database instance import context.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class ImportContext : IDirectResponseSchema
Properties
BakImportOptions
Import parameters specific to SQL Server .BAK files
Declaration
[JsonProperty("bakImportOptions")]
public virtual ImportContext.BakImportOptionsData BakImportOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| ImportContext.BakImportOptionsData |
CsvImportOptions
Options for importing data as CSV.
Declaration
[JsonProperty("csvImportOptions")]
public virtual ImportContext.CsvImportOptionsData CsvImportOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| ImportContext.CsvImportOptionsData |
Database
The target database for the import. If fileType is SQL, this field is required only if the import file does not specify a database, and is overridden by any database specification in the import file. If fileType is CSV, one database must be specified.
Declaration
[JsonProperty("database")]
public virtual string Database { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FileType
The file type for the specified uri. SQL: The file contains SQL statements. CSV: The file contains CSV data.
Declaration
[JsonProperty("fileType")]
public virtual string FileType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ImportUser
The PostgreSQL user for this import operation. PostgreSQL instances only.
Declaration
[JsonProperty("importUser")]
public virtual string ImportUser { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
This is always sql#importContext.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Uri
Path to the import file in Cloud Storage, in the form gs://bucketName/fileName. Compressed gzip files (.gz) are supported when fileType is SQL. The instance must have write permissions to the bucket and read access to the file.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |