Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
- 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
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::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
-
#response_text ⇒ String
Optional.
-
#sources ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources
Sources for the suggestion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.
8185 8186 8187 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#duplicate_check_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
Duplication check for the suggestion.
Corresponds to the JSON property duplicateCheckResult
8173 8174 8175 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8173 def duplicate_check_result @duplicate_check_result end |
#response_text ⇒ String
Optional. Sample response for Agent in text.
Corresponds to the JSON property responseText
8178 8179 8180 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8178 def response_text @response_text end |
#sources ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources
Sources for the suggestion.
Corresponds to the JSON property sources
8183 8184 8185 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8183 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8190 8191 8192 8193 8194 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8190 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 |