Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

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

Overview

Duplication check for the suggestion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult.



19765
19766
19767
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19765

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

Instance Attribute Details

#duplicate_suggestionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>

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



19763
19764
19765
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19763

def duplicate_suggestions
  @duplicate_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19770
19771
19772
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19770

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