Struct google_sqladmin1_beta4::ImportContext [] [src]

pub struct ImportContext {
    pub file_type: Option<String>,
    pub csv_import_options: Option<ImportContextCsvImportOptions>,
    pub uri: Option<String>,
    pub kind: Option<String>,
    pub database: Option<String>,
}

Database instance import context.

This type is not used in any activity, and only used as part of another schema.

Fields

The file type for the specified uri. SQL: The file contains SQL statements. CSV: The file contains CSV data.

Options for importing data as CSV.

A path to the file in Google Cloud Storage from which the import is made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are supported when fileType is SQL.

This is always sql#importContext.

The database (for example, guestbook) to which the import is made. If fileType is SQL and no database is specified, it is assumed that the database is specified in the file to be imported. If fileType is CSV, it must be specified.

Trait Implementations

impl Debug for ImportContext
[src]

Formats the value using the given formatter.

impl Clone for ImportContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ImportContext
[src]

Returns the "default value" for a type. Read more

impl Part for ImportContext
[src]