# Google Cloud Contact Center Insights V1 Client - Class FeedbackLabel (2.4.2)

2.4.2 (latest) 2.4.1 2.3.3 2.2.1 2.1.1 2.0.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.3 Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class FeedbackLabel.

Represents a conversation, resource, and label provided by the user.

Generated from protobuf message `google.cloud.contactcenterinsights.v1.FeedbackLabel`

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ label` | `string` String label. |
| `↳ qa_answer_label` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.QaAnswer.AnswerValue` QaAnswer label. |
| `↳ name` | `string` Immutable. Resource name of the FeedbackLabel. Format: projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} |
| `↳ labeled_resource` | `string` Resource name of the resource to be labeled. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Create time of the label. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Update time of the label. |

### getLabel

String label.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasLabel

### setLabel

String label.

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

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

### getQaAnswerLabel

QaAnswer label.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.QaAnswer.AnswerValue|null` |   |

### hasQaAnswerLabel

### setQaAnswerLabel

QaAnswer label.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-contact-center-insights/latest/V1.QaAnswer.AnswerValue` |

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

### getName

Immutable. Resource name of the FeedbackLabel.

Format:
projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Immutable. Resource name of the FeedbackLabel.

Format:
projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}

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

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

### getLabeledResource

Resource name of the resource to be labeled.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setLabeledResource

Resource name of the resource to be labeled.

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

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

### getCreateTime

Output only. Create time of the label.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Create time of the label.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. Update time of the label.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Update time of the label.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getLabelType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |