Class: Google::Apis::BigqueryV2::DataFormatOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Overview

Options for data format adjustments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataFormatOptions

Returns a new instance of DataFormatOptions.



1643
1644
1645
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1643

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#use_int64_timestampBoolean Also known as: use_int64_timestamp?

Optional. Output timestamp as usec int64. Default is false. Corresponds to the JSON property useInt64Timestamp

Returns:

  • (Boolean)


1640
1641
1642
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1640

def use_int64_timestamp
  @use_int64_timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1648
1649
1650
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1648

def update!(**args)
  @use_int64_timestamp = args[:use_int64_timestamp] if args.key?(:use_int64_timestamp)
end