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§
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§fn default() -> JobConfigurationExtract
fn default() -> JobConfigurationExtract
Source§impl<'de> Deserialize<'de> for JobConfigurationExtract
impl<'de> Deserialize<'de> for JobConfigurationExtract
Source§fn 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>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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