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
sourceimpl Clone for JobConfigurationExtract
impl Clone for JobConfigurationExtract
sourcefn clone(&self) -> JobConfigurationExtract
fn clone(&self) -> JobConfigurationExtract
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobConfigurationExtract
impl Debug for JobConfigurationExtract
sourceimpl Default for JobConfigurationExtract
impl Default for JobConfigurationExtract
sourcefn default() -> JobConfigurationExtract
fn default() -> JobConfigurationExtract
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JobConfigurationExtract
impl<'de> Deserialize<'de> for JobConfigurationExtract
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for JobConfigurationExtract
impl Serialize for JobConfigurationExtract
Auto Trait Implementations
impl RefUnwindSafe for JobConfigurationExtract
impl Send for JobConfigurationExtract
impl Sync for JobConfigurationExtract
impl Unpin for JobConfigurationExtract
impl UnwindSafe for JobConfigurationExtract
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more