Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
- 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
Overview
Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.
Instance Attribute Summary collapse
-
#duplicate_check_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
-
#response_text ⇒ String
Optional.
-
#sources ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Sources for the suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse.
19307 19308 19309 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duplicate_check_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
Corresponds to the JSON property duplicateCheckResult
19295 19296 19297 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19295 def duplicate_check_result @duplicate_check_result end |
#response_text ⇒ String
Optional. Sample response for Agent in text.
Corresponds to the JSON property responseText
19300 19301 19302 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19300 def response_text @response_text end |
#sources ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
Sources for the suggestion.
Corresponds to the JSON property sources
19305 19306 19307 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19305 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19312 19313 19314 19315 19316 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19312 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 |