Struct google_api_proto::google::cloud::bigquery::v2::JobConfigurationExtract
source · pub struct JobConfigurationExtract {
pub destination_uris: Vec<String>,
pub print_header: Option<bool>,
pub field_delimiter: String,
pub destination_format: String,
pub compression: String,
pub use_avro_logical_types: Option<bool>,
pub model_extract_options: Option<ModelExtractOptions>,
pub source: Option<Source>,
}
Expand description
JobConfigurationExtract configures a job that exports data from a BigQuery table into Google Cloud Storage.
Fields§
§destination_uris: Vec<String>
[Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
print_header: Option<bool>
Optional. Whether to print out a header row in the results. Default is true. Not applicable when extracting models.
field_delimiter: 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.
destination_format: 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.
compression: 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.
use_avro_logical_types: Option<bool>
Whether to use logical types when extracting to AVRO format. Not applicable when extracting models.
model_extract_options: Option<ModelExtractOptions>
Optional. Model extract options only applicable when extracting models.
source: Option<Source>
Required. Source reference for the export.
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 moresource§impl Debug for JobConfigurationExtract
impl Debug for JobConfigurationExtract
source§impl Default for JobConfigurationExtract
impl Default for JobConfigurationExtract
source§impl Message for JobConfigurationExtract
impl Message for JobConfigurationExtract
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for JobConfigurationExtract
impl PartialEq for JobConfigurationExtract
source§fn eq(&self, other: &JobConfigurationExtract) -> bool
fn eq(&self, other: &JobConfigurationExtract) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JobConfigurationExtract
Auto Trait Implementations§
impl Freeze for JobConfigurationExtract
impl RefUnwindSafe for JobConfigurationExtract
impl Send for JobConfigurationExtract
impl Sync for JobConfigurationExtract
impl Unpin for JobConfigurationExtract
impl UnwindSafe for JobConfigurationExtract
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request