Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
- 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.
-
#type_inference_disabled ⇒ Boolean
(also: #type_inference_disabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
constructor
A new instance of GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
Returns a new instance of GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions.
1905 1906 1907 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1905 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoding ⇒ String
Optional. The character encoding of the data. The default is UTF-8.
Corresponds to the JSON property encoding
1895 1896 1897 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1895 def encoding @encoding end |
#type_inference_disabled ⇒ Boolean Also known as: type_inference_disabled?
Optional. Whether to disable the inference of data types for JSON data. If
true, all columns are registered as their primitive types (strings, number, or
boolean).
Corresponds to the JSON property typeInferenceDisabled
1902 1903 1904 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1902 def type_inference_disabled @type_inference_disabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1910 1911 1912 1913 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1910 def update!(**args) @encoding = args[:encoding] if args.key?(:encoding) @type_inference_disabled = args[:type_inference_disabled] if args.key?(:type_inference_disabled) end |