# Google Cloud Chronicle V1 Client - Class ListDataAccessLabelsRequest (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 ListDataAccessLabelsRequest.

Request message for ListDataAccessLabels.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource where this data access label will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `↳ page_size` | `int` The maximum number of data access labels to return. The service may return fewer than this value. If unspecified, at most 100 data access labels 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 `ListDataAccessLabelsRequest` call. Provide this to retrieve the subsequent page. |
| `↳ filter` | `string` Optional. A filter which should follow the guidelines of AIP-160. Supports filtering on all fieds of DataAccessLabel and all operations as mentioned in <https://google.aip.dev/160>. example filter: "create_time greater than "2023-04-21T11:30:00-04:00" OR display_name:"-21-1"". |

### getParent

Required. The parent resource where this data access label will be created.

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

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

### setParent

Required. The parent resource where this data access label will be created.

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

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

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

### getPageSize

The maximum number of data access labels to return. The service may return
fewer than this value. If unspecified, at most 100 data access labels 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 data access labels to return. The service may return
fewer than this value. If unspecified, at most 100 data access labels 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 `ListDataAccessLabelsRequest` call.

Provide this to retrieve the subsequent page.

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

### setPageToken

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

Provide this to retrieve the subsequent page.

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

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

### getFilter

Optional. A filter which should follow the guidelines of AIP-160.

Supports filtering on all fieds of DataAccessLabel and all operations as
mentioned in <https://google.aip.dev/160>.
example filter: "create_time greater than "2023-04-21T11:30:00-04:00" OR
display_name:"-21-1"".

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

### setFilter

Optional. A filter which should follow the guidelines of AIP-160.

Supports filtering on all fieds of DataAccessLabel and all operations as
mentioned in <https://google.aip.dev/160>.
example filter: "create_time greater than "2023-04-21T11:30:00-04:00" OR
display_name:"-21-1"".

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource where this data access label will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` Please see DataAccessControlServiceClient::instanceName() for help formatting this field. |

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