Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.



6997
6998
6999
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6997

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

Instance Attribute Details

#duplicate_check_resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



6985
6986
6987
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6985

def duplicate_check_result
  @duplicate_check_result
end

#response_textString

Corresponds to the JSON property responseText

Returns:

  • (String)


6990
6991
6992
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6990

def response_text
  @response_text
end

#sourcesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Corresponds to the JSON property sources



6995
6996
6997
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6995

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7002
7003
7004
7005
7006
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7002

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