# Google Cloud Channel V1 Client - Class ListCustomersRequest (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class ListCustomersRequest.

Request message for
[CloudChannelService.ListCustomers](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Client.CloudChannelServiceClient#_Google_Cloud_Channel_V1_Client_CloudChannelServiceClient__listCustomers__)

Generated from protobuf message `google.cloud.channel.v1.ListCustomersRequest`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the reseller account to list customers from. Parent uses the format: accounts/{account_id}. |
| `↳ page_size` | `int` Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50. |
| `↳ page_token` | `string` Optional. A token identifying a page of results other than the first page. Obtained through [ListCustomersResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.ListCustomersResponse#_Google_Cloud_Channel_V1_ListCustomersResponse__getNextPageToken__) of the previous [CloudChannelService.ListCustomers](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Client.CloudChannelServiceClient#_Google_Cloud_Channel_V1_Client_CloudChannelServiceClient__listCustomers__) call. |
| `↳ filter` | `string` Optional. Filters applied to the \[CloudChannelService.ListCustomers\] results. See <https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers> for more information. |

### getParent

Required. The resource name of the reseller account to list customers from.

Parent uses the format: accounts/{account_id}.

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

### setParent

Required. The resource name of the reseller account to list customers from.

Parent uses the format: accounts/{account_id}.

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

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

### getPageSize

Optional. The maximum number of customers to return. The service may return
fewer than this value. If unspecified, returns at most 10 customers. The
maximum value is 50.

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

### setPageSize

Optional. The maximum number of customers to return. The service may return
fewer than this value. If unspecified, returns at most 10 customers. The
maximum value is 50.

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

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

### getPageToken

Optional. A token identifying a page of results other than the first page.

Obtained through
[ListCustomersResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.ListCustomersResponse#_Google_Cloud_Channel_V1_ListCustomersResponse__getNextPageToken__)
of the previous
[CloudChannelService.ListCustomers](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Client.CloudChannelServiceClient#_Google_Cloud_Channel_V1_Client_CloudChannelServiceClient__listCustomers__)
call.

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

### setPageToken

Optional. A token identifying a page of results other than the first page.

Obtained through
[ListCustomersResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.ListCustomersResponse#_Google_Cloud_Channel_V1_ListCustomersResponse__getNextPageToken__)
of the previous
[CloudChannelService.ListCustomers](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Client.CloudChannelServiceClient#_Google_Cloud_Channel_V1_Client_CloudChannelServiceClient__listCustomers__)
call.

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

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

### getFilter

Optional. Filters applied to the \[CloudChannelService.ListCustomers\]
results. See
<https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers>
for more information.

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

### setFilter

Optional. Filters applied to the \[CloudChannelService.ListCustomers\]
results. See
<https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers>
for more information.

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

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