Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions

Inherits:
Object
  • Object
show all
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

Describe JSON data format.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions

Returns a new instance of GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions.



5905
5906
5907
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5905

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

Instance Attribute Details

#disable_type_inferenceBoolean Also known as: disable_type_inference?

Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). Corresponds to the JSON property disableTypeInference

Returns:

  • (Boolean)


5897
5898
5899
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5897

def disable_type_inference
  @disable_type_inference
end

#encodingString

Optional. The character encoding of the data. The default is UTF-8. Corresponds to the JSON property encoding

Returns:

  • (String)


5903
5904
5905
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5903

def encoding
  @encoding
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5910
5911
5912
5913
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5910

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