Class JobConfigurationExtract
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobConfigurationExtract : IDirectResponseSchema
Properties
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.
Declaration
[JsonProperty("compression")]
public virtual string Compression { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("destinationFormat")]
public virtual string DestinationFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("destinationUri")]
public virtual string DestinationUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DestinationUris
[Pick one] A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
Declaration
[JsonProperty("destinationUris")]
public virtual IList<string> DestinationUris { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FieldDelimiter
[Optional] Delimiter to use between fields in the exported data. Default is ','. Not applicable when extracting models.
Declaration
[JsonProperty("fieldDelimiter")]
public virtual string FieldDelimiter { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrintHeader
[Optional] Whether to print out a header row in the results. Default is true. Not applicable when extracting models.
Declaration
[JsonProperty("printHeader")]
public virtual bool? PrintHeader { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
SourceModel
A reference to the model being exported.
Declaration
[JsonProperty("sourceModel")]
public virtual ModelReference SourceModel { get; set; }
Property Value
Type | Description |
---|---|
ModelReference |
SourceTable
A reference to the table being exported.
Declaration
[JsonProperty("sourceTable")]
public virtual TableReference SourceTable { get; set; }
Property Value
Type | Description |
---|---|
TableReference |
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.
Declaration
[JsonProperty("useAvroLogicalTypes")]
public virtual bool? UseAvroLogicalTypes { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |