Class ExternalDataConfiguration
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2.Data
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class ExternalDataConfiguration : IDirectResponseSchema
Properties
Autodetect
Try to detect schema and format options automatically. Any option specified explicitly will be honored.
Declaration
[JsonProperty("autodetect")]
public virtual bool? Autodetect { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
BigtableOptions
[Optional] Additional options if sourceFormat is set to BIGTABLE.
Declaration
[JsonProperty("bigtableOptions")]
public virtual BigtableOptions BigtableOptions { get; set; }
Property Value
Type | Description |
---|---|
BigtableOptions |
Compression
[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.
Declaration
[JsonProperty("compression")]
public virtual string Compression { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CsvOptions
Additional properties to set if sourceFormat is set to CSV.
Declaration
[JsonProperty("csvOptions")]
public virtual CsvOptions CsvOptions { get; set; }
Property Value
Type | Description |
---|---|
CsvOptions |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GoogleSheetsOptions
[Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
Declaration
[JsonProperty("googleSheetsOptions")]
public virtual GoogleSheetsOptions GoogleSheetsOptions { get; set; }
Property Value
Type | Description |
---|---|
GoogleSheetsOptions |
HivePartitioningMode
[Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.
Declaration
[JsonProperty("hivePartitioningMode")]
public virtual string HivePartitioningMode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HivePartitioningOptions
[Optional, Trusted Tester] Options to configure hive partitioning support.
Declaration
[JsonProperty("hivePartitioningOptions")]
public virtual HivePartitioningOptions HivePartitioningOptions { get; set; }
Property Value
Type | Description |
---|---|
HivePartitioningOptions |
IgnoreUnknownValues
[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.
Declaration
[JsonProperty("ignoreUnknownValues")]
public virtual bool? IgnoreUnknownValues { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
MaxBadRecords
[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.
Declaration
[JsonProperty("maxBadRecords")]
public virtual int? MaxBadRecords { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Schema
[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.
Declaration
[JsonProperty("schema")]
public virtual TableSchema Schema { get; set; }
Property Value
Type | Description |
---|---|
TableSchema |
SourceFormat
[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".
Declaration
[JsonProperty("sourceFormat")]
public virtual string SourceFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SourceUris
[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.
Declaration
[JsonProperty("sourceUris")]
public virtual IList<string> SourceUris { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |