# Google Cloud Contact Center Insights V1 Client - Class IntentMatchData (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 IntentMatchData.

The data for an intent match.

Represents an intent match for a text segment in the conversation. A text
segment can be part of a sentence, a complete sentence, or an utterance
with multiple sentences.

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

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ intent_unique_id` | `string` The id of the matched intent. Can be used to retrieve the corresponding intent information. |

### getIntentUniqueId

The id of the matched intent.

Can be used to retrieve the corresponding intent information.

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

### setIntentUniqueId

The id of the matched intent.

Can be used to retrieve the corresponding intent information.

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

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