# Google Cloud Billing V1 Client - Class ListServicesRequest (2.2.2)

2.2.2 (latest) 2.2.1 2.1.3 2.0.1 1.9.8 1.8.0 1.7.5 1.6.0 1.5.6 Reference documentation and code samples for the Google Cloud Billing V1 Client class ListServicesRequest.

Request message for `ListServices`.

Generated from protobuf message `google.cloud.billing.v1.ListServicesRequest`

## Namespace

Google \\ Cloud \\ Billing \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ page_size` | `int` Requested page size. Defaults to 5000. |
| `↳ page_token` | `string` A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListServices` call. If unspecified, the first page of results is returned. |

### getPageSize

Requested page size. Defaults to 5000.

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

### setPageSize

Requested page size. Defaults to 5000.

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

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

### getPageToken

A token identifying a page of results to return. This should be a
`next_page_token` value returned from a previous `ListServices`
call. If unspecified, the first page of results is returned.

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

### setPageToken

A token identifying a page of results to return. This should be a
`next_page_token` value returned from a previous `ListServices`
call. If unspecified, the first page of results is returned.

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

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