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 model_extract_options: Option<ModelExtractOptions>,
pub print_header: Option<bool>,
pub source_model: Option<ModelReference>,
pub source_table: Option<TableReference>,
pub use_avro_logical_types: Option<bool>,
}Expand description
JobConfigurationExtract configures a job that exports data from a BigQuery table into Google Cloud Storage.
This type is not used in any activity, and only used as part of another schema.
Fields§
§compression: Option<String>Optional. The compression type to use for exported files. Possible values include DEFLATE, GZIP, NONE, SNAPPY, and ZSTD. The default value is NONE. Not all compression formats are support for all file formats. DEFLATE is only supported for Avro. ZSTD is only supported for Parquet. 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. When extracting data in CSV format, this defines the delimiter to use between fields in the exported data. Default is ‘,’. Not applicable when extracting models.
model_extract_options: Option<ModelExtractOptions>Optional. Model extract options only 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>A reference to the model being exported.
source_table: Option<TableReference>A reference to the table being exported.
use_avro_logical_types: Option<bool>Whether to use logical types when extracting to AVRO format. Not applicable when extracting models.
Trait Implementations§
Source§impl Clone for JobConfigurationExtract
impl Clone for JobConfigurationExtract
Source§fn clone(&self) -> JobConfigurationExtract
fn clone(&self) -> JobConfigurationExtract
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more