Struct google_bigquery2::api::ExternalDataConfiguration [−][src]
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
autodetect: Option<bool>Try to detect schema and format options automatically. Any option specified explicitly will be honored.
bigtable_options: Option<BigtableOptions>[Optional] Additional options if sourceFormat is set to BIGTABLE.
compression: Option<String>[Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
connection_id: Option<String>[Optional, Trusted Tester] Connection for external data source.
csv_options: Option<CsvOptions>Additional properties to set if sourceFormat is set to CSV.
google_sheets_options: Option<GoogleSheetsOptions>[Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
hive_partitioning_options: Option<HivePartitioningOptions>[Optional] Options to configure hive partitioning support.
ignore_unknown_values: Option<bool>[Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.
max_bad_records: Option<i32>[Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
parquet_options: Option<ParquetOptions>Additional properties to set if sourceFormat is set to Parquet.
schema: Option<TableSchema>[Optional] The schema for the data. Schema is required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, and Avro formats.
source_format: Option<String>[Required] The data format. For CSV files, specify "CSV". For Google sheets, specify "GOOGLE_SHEETS". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud Datastore backups, specify "DATASTORE_BACKUP". [Beta] For Google Cloud Bigtable, specify "BIGTABLE".
source_uris: Option<Vec<String>>[Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified. Also, the '' wildcard character is not allowed.
Trait Implementations
impl Clone for ExternalDataConfiguration[src]
fn clone(&self) -> ExternalDataConfiguration[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ExternalDataConfiguration[src]
impl Default for ExternalDataConfiguration[src]
impl<'de> Deserialize<'de> for ExternalDataConfiguration[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for ExternalDataConfiguration[src]
impl Serialize for ExternalDataConfiguration[src]
Auto Trait Implementations
impl RefUnwindSafe for ExternalDataConfiguration[src]
impl Send for ExternalDataConfiguration[src]
impl Sync for ExternalDataConfiguration[src]
impl Unpin for ExternalDataConfiguration[src]
impl UnwindSafe for ExternalDataConfiguration[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,