Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeSearchFeedback.
Feedback for knowledge search.
Generated from protobuf message google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeSearchFeedback
Namespace
Google \ Cloud \ Dialogflow \ V2 \ AgentAssistantFeedbackMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ answer_copied |
bool
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. |
↳ clicked_uris |
array
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. |
getAnswerCopied
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.
Returns | |
---|---|
Type | Description |
bool |
setAnswerCopied
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getClickedUris
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setClickedUris
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.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |