Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.



13340
13341
13342
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13340

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

Instance Attribute Details

#duplicate_check_resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



13328
13329
13330
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13328

def duplicate_check_result
  @duplicate_check_result
end

#response_textString

Corresponds to the JSON property responseText

Returns:

  • (String)


13333
13334
13335
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13333

def response_text
  @response_text
end

#sourcesGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Corresponds to the JSON property sources



13338
13339
13340
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13338

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13345
13346
13347
13348
13349
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13345

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