Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageFormatJsonOptions
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1StorageFormatJsonOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Describes JSON data format.
Instance Attribute Summary collapse
-
#encoding ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1StorageFormatJsonOptions
constructor
A new instance of GoogleCloudDataplexV1StorageFormatJsonOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1StorageFormatJsonOptions
Returns a new instance of GoogleCloudDataplexV1StorageFormatJsonOptions.
7203 7204 7205 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7203 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoding ⇒ String
Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and "
ISO-8859-1". Defaults to UTF-8 if not specified.
Corresponds to the JSON property encoding
7201 7202 7203 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7201 def encoding @encoding end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7208 7209 7210 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7208 def update!(**args) @encoding = args[:encoding] if args.key?(:encoding) end |