[][src]Struct google_sql1_beta4::ImportContext

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

Database instance import context.

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

Fields

bak_import_options: Option<ImportContextBakImportOptions>

Import parameters specific to SQL Server .BAK files

kind: Option<String>

This is always sql#importContext.

import_user: Option<String>

The PostgreSQL user for this import operation. PostgreSQL instances only.

database: Option<String>

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.

file_type: Option<String>

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

csv_import_options: Option<ImportContextCsvImportOptions>

Options for importing data as CSV.

uri: Option<String>

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.

Trait Implementations

impl Clone for ImportContext[src]

impl Debug for ImportContext[src]

impl Default for ImportContext[src]

impl<'de> Deserialize<'de> for ImportContext[src]

impl Part for ImportContext[src]

impl Serialize for ImportContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any