Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

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) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult.



12421
12422
12423
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12421

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

Instance Attribute Details

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

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



12419
12420
12421
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12419

def duplicate_suggestions
  @duplicate_suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12426
12427
12428
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12426

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