Class: Google::Apis::BigqueryV2::JsonOptions

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

Json Options for load and make external tables.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JsonOptions

Returns a new instance of JsonOptions.



6172
6173
6174
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6172

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

Instance Attribute Details

#encodingString

Optional. The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8. Corresponds to the JSON property encoding

Returns:

  • (String)


6170
6171
6172
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6170

def encoding
  @encoding
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6177
6178
6179
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6177

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