Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.



7319
7320
7321
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7319

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

Instance Attribute Details

#duplicate_check_resultGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



7307
7308
7309
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7307

def duplicate_check_result
  @duplicate_check_result
end

#response_textString

Corresponds to the JSON property responseText

Returns:

  • (String)


7312
7313
7314
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7312

def response_text
  @response_text
end

#sourcesGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Corresponds to the JSON property sources



7317
7318
7319
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7317

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7324
7325
7326
7327
7328
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7324

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