Class UploadAvroOptions (2.4.0)

public sealed class UploadAvroOptions : JobCreationOptions

Options for UploadAvro operations.

Inheritance

Object > JobCreationOptions > UploadAvroOptions

Namespace

Google.Cloud.BigQuery.V2

Assembly

Google.Cloud.BigQuery.V2.dll

Properties

AllowUnknownFields

public bool? AllowUnknownFields { get; set; }

Whether or not to accept rows with fields that are not specified in the schema, ignoring the extra fields. If not set, this is effectively false.

Property Value
TypeDescription
Nullable<Boolean>

CreateDisposition

public CreateDisposition? CreateDisposition { get; set; }

Specifies whether the operation is allowed to create new tables. If not set, this is effectively CreateIfNeeded.

Property Value
TypeDescription
Nullable<CreateDisposition>

DestinationEncryptionConfiguration

public EncryptionConfiguration DestinationEncryptionConfiguration { get; set; }

The encryption configuration to apply to the destination table, if any.

Property Value
TypeDescription
EncryptionConfiguration

DestinationSchemaUpdateOptions

public SchemaUpdateOption? DestinationSchemaUpdateOptions { get; set; }

Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in two cases: when WriteDisposition is WriteAppend; when WriteDisposition is WriteTruncate and the destination table is a partition of a table, specified by partition decorators. SchemaUpdateOption is marked with the FlagsAttribute so several flags can be specified.

Property Value
TypeDescription
Nullable<SchemaUpdateOption>

MaxBadRecords

public int? MaxBadRecords { get; set; }

The maximum number of bad records that are ignored before the overall job fails. If not set, this is effectively 0.

Property Value
TypeDescription
Nullable<Int32>

TimePartitioning

public TimePartitioning TimePartitioning { get; set; }

The time partitioning to apply, if any. See TimePartition to create instances of TimePartitioning.

Property Value
TypeDescription
TimePartitioning

UseAvroLogicalTypes

public bool? UseAvroLogicalTypes { get; set; }

This indicates whether to enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER). If unset, the server default will be used.

Property Value
TypeDescription
Nullable<Boolean>

WriteDisposition

public WriteDisposition? WriteDisposition { get; set; }

Specifies the behavior if the destination table exists. If not set, this is effectively WriteAppend.

Property Value
TypeDescription
Nullable<WriteDisposition>