Show / Hide Table of Contents

Class ImportContext

Database instance import context.

Inheritance
object
ImportContext
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SQLAdmin.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.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
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
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
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
string

Kind

This is always sql#importContext.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
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
string

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX