Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#enable_deduping ⇒ Boolean
(also: #enable_deduping?)
Corresponds to the JSON property
enableDeduping. -
#similarity_threshold ⇒ Float
Corresponds to the JSON property
similarityThreshold.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionDedupingConfig
constructor
A new instance of GoogleCloudDialogflowV2SuggestionDedupingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SuggestionDedupingConfig
Returns a new instance of GoogleCloudDialogflowV2SuggestionDedupingConfig.
16052 16053 16054 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16052 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_deduping ⇒ Boolean Also known as: enable_deduping?
Corresponds to the JSON property enableDeduping
16044 16045 16046 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16044 def enable_deduping @enable_deduping end |
#similarity_threshold ⇒ Float
Corresponds to the JSON property similarityThreshold
16050 16051 16052 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16050 def similarity_threshold @similarity_threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16057 16058 16059 16060 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16057 def update!(**args) @enable_deduping = args[:enable_deduping] if args.key?(:enable_deduping) @similarity_threshold = args[:similarity_threshold] if args.key?(:similarity_threshold) end |