# Google Cloud Dialogflow V2 Client - Class KnowledgeSearchFeedback (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 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** ||
|---|---|
| **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](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.AnswerFeedback#_Google_Cloud_Dialogflow_V2_AnswerFeedback__getClicked__) will be updated to be true. |
| `↳ clicked_uris` | `string[]` The URIs clicked by the human agent. The value is appended for each [UpdateAnswerRecordRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.UpdateAnswerRecordRequest). If the value is not empty, [AnswerFeedback.clicked](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.AnswerFeedback#_Google_Cloud_Dialogflow_V2_AnswerFeedback__getClicked__) 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](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.AnswerFeedback#_Google_Cloud_Dialogflow_V2_AnswerFeedback__getClicked__)
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](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.AnswerFeedback#_Google_Cloud_Dialogflow_V2_AnswerFeedback__getClicked__)
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](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.UpdateAnswerRecordRequest).

If the value is not empty,
[AnswerFeedback.clicked](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.AnswerFeedback#_Google_Cloud_Dialogflow_V2_AnswerFeedback__getClicked__)
will be updated to be true.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setClickedUris

The URIs clicked by the human agent. The value is appended for each
[UpdateAnswerRecordRequest](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.UpdateAnswerRecordRequest).

If the value is not empty,
[AnswerFeedback.clicked](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.AnswerFeedback#_Google_Cloud_Dialogflow_V2_AnswerFeedback__getClicked__)
will be updated to be true.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |