Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse.



18718
18719
18720
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18718

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

Instance Attribute Details

#duplicate_check_resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



18706
18707
18708
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18706

def duplicate_check_result
  @duplicate_check_result
end

#response_textString

Corresponds to the JSON property responseText

Returns:

  • (String)


18711
18712
18713
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18711

def response_text
  @response_text
end

#sourcesGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources

Corresponds to the JSON property sources



18716
18717
18718
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18716

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18723
18724
18725
18726
18727
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 18723

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