Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
- 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::GoogleCloudDialogflowV2AgentCoachingSuggestionSources
Corresponds to the JSON property
sources. -
#suggestion_index ⇒ Fixnum
Corresponds to the JSON property
suggestionIndex.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion.
13296 13297 13298 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
13279 13280 13281 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13279 def answer_record @answer_record end |
#similarity_score ⇒ Float
Corresponds to the JSON property similarityScore
13284 13285 13286 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13284 def similarity_score @similarity_score end |
#sources ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources
Corresponds to the JSON property sources
13289 13290 13291 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13289 def sources @sources end |
#suggestion_index ⇒ Fixnum
Corresponds to the JSON property suggestionIndex
13294 13295 13296 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13294 def suggestion_index @suggestion_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13301 13302 13303 13304 13305 13306 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13301 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 |