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

The request to list analysis rules.

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

## 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 analysis rules. |
| `↳ page_size` | `int` Optional. The maximum number of analysis rule to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available. |
| `↳ page_token` | `string` Optional. The value returned by the last `ListAnalysisRulesResponse`; indicates that this is a continuation of a prior `ListAnalysisRules` call and the system should return the next page of data. |

### getParent

Required. The parent resource of the analysis rules.

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

### setParent

Required. The parent resource of the analysis rules.

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

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

### getPageSize

Optional. The maximum number of analysis rule to return in the response. If
this value is zero, the service will select a default size. A call may
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

Optional. The maximum number of analysis rule to return in the response. If
this value is zero, the service will select a default size. A call may
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

Optional. The value returned by the last `ListAnalysisRulesResponse`;
indicates that this is a continuation of a prior `ListAnalysisRules` call
and the system should return the next page of data.

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

### setPageToken

Optional. The value returned by the last `ListAnalysisRulesResponse`;
indicates that this is a continuation of a prior `ListAnalysisRules` call
and the system should return the next page of data.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource of the analysis rules. 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.ListAnalysisRulesRequest` |   |