Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Settings for answer feedback collection.
Instance Attribute Summary collapse
-
#enable_answer_feedback ⇒ Boolean
(also: #enable_answer_feedback?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings.
4142 4143 4144 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_answer_feedback ⇒ Boolean Also known as: enable_answer_feedback?
Optional. If enabled, end users will be able to provide answer feedback to
Dialogflow responses. Feature works only if interaction logging is enabled in
the Dialogflow agent.
Corresponds to the JSON property enableAnswerFeedback
4139 4140 4141 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4139 def enable_answer_feedback @enable_answer_feedback end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4147 4148 4149 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4147 def update!(**args) @enable_answer_feedback = args[:enable_answer_feedback] if args.key?(:enable_answer_feedback) end |