Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Inherits:
Object
  • Object
show all
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

Duplication check for the suggestion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult.



8117
8118
8119
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8117

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#duplicate_suggestionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>

Output only. The duplicate suggestions. Corresponds to the JSON property duplicateSuggestions



8115
8116
8117
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8115

def duplicate_suggestions
  @duplicate_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8122
8123
8124
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8122

def update!(**args)
  @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
end