JobConfigurationExtract class

Constructors

JobConfigurationExtract({Input<String>? compression, Input<String>? destinationFormat, Input<String>? destinationUri, Input<List<String>>? destinationUris, Input<String>? fieldDelimiter, Input<bool>? printHeader, Input<ModelReference>? sourceModel, Input<TableReference>? sourceTable, Input<bool>? useAvroLogicalTypes})
Creates a new JobConfigurationExtract. compression 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. destinationFormat 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. destinationUri 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. destinationUris Pick one A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written. fieldDelimiter Optional Delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models. printHeader Optional Whether to print out a header row in the results. Default is true. Not applicable when extracting models. sourceModel A reference to the model being exported. sourceTable A reference to the table being exported. useAvroLogicalTypes 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.
const
JobConfigurationExtract.fromMap(Map<String, dynamic> map)
factory

Properties

compression → Input<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.
final
destinationFormat → Input<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.
final
destinationUri → Input<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.
final
destinationUris → Input<List<String>>?
Pick one A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
final
fieldDelimiter → Input<String>?
Optional Delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models.
final
hashCode → int
The hash code for this object.
no setterinherited
printHeader → Input<bool>?
Optional Whether to print out a header row in the results. Default is true. Not applicable when extracting models.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceModel → Input<ModelReference>?
A reference to the model being exported.
final
sourceTable → Input<TableReference>?
A reference to the table being exported.
final
useAvroLogicalTypes → Input<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited