class Google::Apis::BigqueryV2::AvroOptions
Attributes
use_avro_logical_types[RW]
- Optional
-
If sourceFormat is set to “AVRO”, indicates whether to interpret
logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER). Corresponds to the JSON property `useAvroLogicalTypes` @return [Boolean]
use_avro_logical_types?[RW]
- Optional
-
If sourceFormat is set to “AVRO”, indicates whether to interpret
logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER). Corresponds to the JSON property `useAvroLogicalTypes` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 552 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 557 def update!(**args) @use_avro_logical_types = args[:use_avro_logical_types] if args.key?(:use_avro_logical_types) end