Class: Google::Apis::BigqueryV2::JsonOptions
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::JsonOptions
- 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
Instance Attribute Summary collapse
-
#encoding ⇒ String
[Optional] The character encoding of the data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JsonOptions
constructor
A new instance of JsonOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JsonOptions
Returns a new instance of JsonOptions.
5241 5242 5243 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoding ⇒ String
[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
5239 5240 5241 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5239 def encoding @encoding end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5246 5247 5248 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5246 def update!(**args) @encoding = args[:encoding] if args.key?(:encoding) end |