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

Fields

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.

destination_format: Option<String>

[Optional] The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON, PARQUET 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.

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.

destination_uris: Option<Vec<String>>

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

field_delimiter: Option<String>

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

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>source_table: Option<TableReference>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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more