Google Cloud Dialogflow V2 Client - Class KnowledgeAssistFeedback (1.15.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeAssistFeedback.

Feedback for knowledge assist.

Generated from protobuf message google.cloud.dialogflow.v2.AgentAssistantFeedback.KnowledgeAssistFeedback

Namespace

Google \ Cloud \ Dialogflow \ V2 \ AgentAssistantFeedback

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ answer_copied bool

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.

↳ 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 suggested answer was copied by the human agent.

If the value is set to be true, AnswerFeedback.clicked will be updated to be true.

Returns
Type Description
bool

setAnswerCopied

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.

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