# Google Cloud Chronicle V1 Client - Class ListRetrohuntsRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ListRetrohuntsRequest.

Request message for ListRetrohunts method.

Generated from protobuf message `google.cloud.chronicle.v1.ListRetrohuntsRequest`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The rule that the retrohunts belong to. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` |
| `↳ page_size` | `int` The maximum number of retrohunt to return. The service may return fewer than this value. If unspecified, at most 100 retrohunts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| `↳ page_token` | `string` A page token, received from a previous `ListRetrohunts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRetrohunts` must match the call that provided the page token. |
| `↳ filter` | `string` A filter that can be used to retrieve specific rule deployments. The following fields are filterable: state |

### getParent

Required. The rule that the retrohunts belong to.

Format:
`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

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

### setParent

Required. The rule that the retrohunts belong to.

Format:
`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

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

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

### getPageSize

The maximum number of retrohunt to return. The service may return fewer
than this value. If unspecified, at most 100 retrohunts will be returned.

The maximum value is 1000; values above 1000 will be coerced to
1000.

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

### setPageSize

The maximum number of retrohunt to return. The service may return fewer
than this value. If unspecified, at most 100 retrohunts will be returned.

The maximum value is 1000; values above 1000 will be coerced to
1000.

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

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

### getPageToken

A page token, received from a previous `ListRetrohunts` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListRetrohunts` must
match the call that provided the page token.

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

### setPageToken

A page token, received from a previous `ListRetrohunts` call.

Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to `ListRetrohunts` must
match the call that provided the page token.

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

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

### getFilter

A filter that can be used to retrieve specific rule deployments.

The following fields are filterable:
state

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

### setFilter

A filter that can be used to retrieve specific rule deployments.

The following fields are filterable:
state

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The rule that the retrohunts belong to. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` Please see RuleServiceClient::ruleName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.ListRetrohuntsRequest` |   |