Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
- 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
Overview
Feedback for knowledge search.
Instance Attribute Summary collapse
-
#answer_copied ⇒ Boolean
(also: #answer_copied?)
Whether the answer was copied by the human agent or not.
-
#clicked_uris ⇒ Array<String>
The URIs clicked by the human agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
constructor
A new instance of GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
Returns a new instance of GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback.
8022 8023 8024 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_copied ⇒ Boolean Also known as: answer_copied?
Whether the answer was copied by the human agent or not. If the value is set
to be true, AnswerFeedback.clicked will be updated to be true.
Corresponds to the JSON property answerCopied
8012 8013 8014 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8012 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
8020 8021 8022 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8020 def clicked_uris @clicked_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8027 8028 8029 8030 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8027 def update!(**args) @answer_copied = args[:answer_copied] if args.key?(:answer_copied) @clicked_uris = args[:clicked_uris] if args.key?(:clicked_uris) end |