Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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::DialogflowV3::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.
17300 17301 17302 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
17283 17284 17285 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17283 def answer_record @answer_record end |
#similarity_score ⇒ Float
Corresponds to the JSON property similarityScore
17288 17289 17290 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17288 def similarity_score @similarity_score end |
#sources ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Corresponds to the JSON property sources
17293 17294 17295 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17293 def sources @sources end |
#suggestion_index ⇒ Fixnum
Corresponds to the JSON property suggestionIndex
17298 17299 17300 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17298 def suggestion_index @suggestion_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17305 17306 17307 17308 17309 17310 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17305 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 |