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

Request to list phrase matchers.

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

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource of the phrase matcher. |
| `↳ page_size` | `int` The maximum number of phrase matchers to return in the response. If this value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. |
| `↳ page_token` | `string` The value returned by the last `ListPhraseMatchersResponse`. This value indicates that this is a continuation of a prior `ListPhraseMatchers` call and that the system should return the next page of data. |
| `↳ filter` | `string` A filter to reduce results to a specific subset. Useful for querying phrase matchers with specific properties. |

### getParent

Required. The parent resource of the phrase matcher.

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

### setParent

Required. The parent resource of the phrase matcher.

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

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

### getPageSize

The maximum number of phrase matchers to return in the response. If this
value is zero, the service will select a default size. A call might return
fewer objects than requested. A non-empty `next_page_token` in the response
indicates that more data is available.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

The maximum number of phrase matchers to return in the response. If this
value is zero, the service will select a default size. A call might return
fewer objects than requested. A non-empty `next_page_token` in the response
indicates that more data is available.

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

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

### getPageToken

The value returned by the last `ListPhraseMatchersResponse`. This value
indicates that this is a continuation of a prior `ListPhraseMatchers` call
and that the system should return the next page of data.

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

### setPageToken

The value returned by the last `ListPhraseMatchersResponse`. This value
indicates that this is a continuation of a prior `ListPhraseMatchers` call
and that the system should return the next page of data.

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

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

### getFilter

A filter to reduce results to a specific subset. Useful for querying
phrase matchers with specific properties.

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

### setFilter

A filter to reduce results to a specific subset. Useful for querying
phrase matchers with specific properties.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource of the phrase matcher. Please see ContactCenterInsightsClient::locationName() for help formatting this field. |

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