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

Response message for `ListServices`.

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

## Namespace

Google \\ Cloud \\ Billing \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ services` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-billing/latest/V1.Service>` A list of services. |
| `↳ next_page_token` | `string` A token to retrieve the next page of results. To retrieve the next page, call `ListServices` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve. |

### getServices

A list of services.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-billing/latest/V1.Service>` |   |

### setServices

A list of services.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-billing/latest/V1.Service>` |

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

### getNextPageToken

A token to retrieve the next page of results. To retrieve the next page,
call `ListServices` again with the `page_token` field set to this
value. This field is empty if there are no more results to retrieve.

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

### setNextPageToken

A token to retrieve the next page of results. To retrieve the next page,
call `ListServices` again with the `page_token` field set to this
value. This field is empty if there are no more results to retrieve.

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

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