Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
- 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
Overview
The duplicate suggestion details.
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Output only.
-
#similarity_score ⇒ Float
Output only.
-
#suggestion_index ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion.
8372 8373 8374 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Output only. The answer record id of the past duplicate suggestion.
Corresponds to the JSON property answerRecord
8360 8361 8362 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8360 def answer_record @answer_record end |
#similarity_score ⇒ Float
Output only. The similarity score of between the past and current suggestion.
Corresponds to the JSON property similarityScore
8365 8366 8367 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8365 def similarity_score @similarity_score end |
#suggestion_index ⇒ Fixnum
Output only. The index of the duplicate suggestion in the past suggestion list.
Corresponds to the JSON property suggestionIndex
8370 8371 8372 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8370 def suggestion_index @suggestion_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8377 8378 8379 8380 8381 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8377 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @similarity_score = args[:similarity_score] if args.key?(:similarity_score) @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index) end |