Google Cloud Dialogflow V2 Client - Class KnowledgeSearchFeedback (1.11.0)

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 \ AgentAssistantFeedback

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this