# Google Cloud Discovery Engine V1 Client - Class ListControlsRequest (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListControlsRequest.

Request for ListControls method.

Generated from protobuf message `google.cloud.discoveryengine.v1.ListControlsRequest`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. |
| `↳ page_size` | `int` Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. |
| `↳ page_token` | `string` Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. |
| `↳ filter` | `string` Optional. A filter to apply on the list results. Supported features: \* \* List all the products under the parent branch if [filter](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ListControlsRequest#_Google_Cloud_DiscoveryEngine_V1_ListControlsRequest__getFilter__) is unset. Currently this field is unsupported. |

### getParent

Required. The data store resource name. Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`
or
`projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.

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

### setParent

Required. The data store resource name. Format:
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`
or
`projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.

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

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

### getPageSize

Optional. Maximum number of results to return. If unspecified, defaults
to 50. Max allowed value is 1000.

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

### setPageSize

Optional. Maximum number of results to return. If unspecified, defaults
to 50. Max allowed value is 1000.

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

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

### getPageToken

Optional. A page token, received from a previous `ListControls` call.

Provide this to retrieve the subsequent page.

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

### setPageToken

Optional. A page token, received from a previous `ListControls` call.

Provide this to retrieve the subsequent page.

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

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

### getFilter

Optional. A filter to apply on the list results. Supported features:

- List all the products under the parent branch if [filter](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ListControlsRequest#_Google_Cloud_DiscoveryEngine_V1_ListControlsRequest__getFilter__) is unset. Currently this field is unsupported.

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

### setFilter

Optional. A filter to apply on the list results. Supported features:

- List all the products under the parent branch if [filter](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ListControlsRequest#_Google_Cloud_DiscoveryEngine_V1_ListControlsRequest__getFilter__) is unset. Currently this field is unsupported.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Please see ControlServiceClient::dataStoreName() for help formatting this field. |

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