Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion.
12450 12451 12452 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12450 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
12438 12439 12440 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12438 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
12443 12444 12445 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12443 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
12448 12449 12450 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12448 def suggestion_index @suggestion_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12455 12456 12457 12458 12459 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12455 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 |