Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
- 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
Feedback for knowledge assist.
Instance Attribute Summary collapse
-
#answer_copied ⇒ Boolean
(also: #answer_copied?)
Whether the suggested answer was copied by the human agent.
-
#clicked_uris ⇒ Array<String>
The URIs clicked by the human agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
Returns a new instance of GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback.
12204 12205 12206 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_copied ⇒ Boolean Also known as: answer_copied?
Whether the suggested answer was copied by the human agent. If the value is
set to be true, AnswerFeedback.clicked will be updated to be true.
Corresponds to the JSON property answerCopied
12194 12195 12196 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12194 def answer_copied @answer_copied end |
#clicked_uris ⇒ Array<String>
The URIs clicked by the human agent. The value is appended for each
UpdateAnswerRecordRequest. If the value is not empty, AnswerFeedback.clicked
will be updated to be true.
Corresponds to the JSON property clickedUris
12202 12203 12204 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12202 def clicked_uris @clicked_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12209 12210 12211 12212 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12209 def update!(**args) @answer_copied = args[:answer_copied] if args.key?(:answer_copied) @clicked_uris = args[:clicked_uris] if args.key?(:clicked_uris) end |