Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
- 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
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#similarity_score ⇒ Float
Corresponds to the JSON property
similarityScore. -
#sources ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Corresponds to the JSON property
sources. -
#suggestion_index ⇒ Fixnum
Corresponds to the JSON property
suggestionIndex.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion.
18123 18124 18125 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18123 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
18106 18107 18108 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18106 def answer_record @answer_record end |
#similarity_score ⇒ Float
Corresponds to the JSON property similarityScore
18111 18112 18113 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18111 def similarity_score @similarity_score end |
#sources ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Corresponds to the JSON property sources
18116 18117 18118 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18116 def sources @sources end |
#suggestion_index ⇒ Fixnum
Corresponds to the JSON property suggestionIndex
18121 18122 18123 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18121 def suggestion_index @suggestion_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18128 18129 18130 18131 18132 18133 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18128 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @similarity_score = args[:similarity_score] if args.key?(:similarity_score) @sources = args[:sources] if args.key?(:sources) @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index) end |