[][src]Struct google_bigquery2::JobConfigurationExtract

pub struct JobConfigurationExtract {
    pub destination_uri: Option<String>,
    pub use_avro_logical_types: Option<bool>,
    pub compression: Option<String>,
    pub field_delimiter: Option<String>,
    pub destination_format: Option<String>,
    pub print_header: Option<bool>,
    pub source_model: Option<ModelReference>,
    pub destination_uris: Option<Vec<String>>,
    pub source_table: Option<TableReference>,
}

There is no detailed description.

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

Fields

destination_uri: Option<String>

[Pick one] DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.

use_avro_logical_types: Option<bool>

[Optional] If destinationFormat is set to "AVRO", this flag indicates whether to enable extracting applicable column types (such as TIMESTAMP) to their corresponding AVRO logical types (timestamp-micros), instead of only using their raw types (avro-long). Not applicable when extracting models.

compression: Option<String>

[Optional] The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. Not applicable when extracting models.

field_delimiter: Option<String>

[Optional] Delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models.

destination_format: Option<String>

[Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON or AVRO for tables and ML_TF_SAVED_MODEL or ML_XGBOOST_BOOSTER for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is ML_TF_SAVED_MODEL.

print_header: Option<bool>

[Optional] Whether to print out a header row in the results. Default is true. Not applicable when extracting models.

source_model: Option<ModelReference>

A reference to the model being exported.

destination_uris: Option<Vec<String>>

[Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.

source_table: Option<TableReference>

A reference to the table being exported.

Trait Implementations

impl Clone for JobConfigurationExtract[src]

impl Debug for JobConfigurationExtract[src]

impl Default for JobConfigurationExtract[src]

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

impl Part for JobConfigurationExtract[src]

impl Serialize for JobConfigurationExtract[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