# Google Cloud Billing Budgets V1 Client - Class ListBudgetsResponse (2.1.2)

2.1.2 (latest) 2.1.1 2.0.5 1.4.5 1.3.1 1.2.2 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Billing Budgets V1 Client class ListBudgetsResponse.

Response for ListBudgets

Generated from protobuf message `google.cloud.billing.budgets.v1.ListBudgetsResponse`

## Namespace

Google \\ Cloud \\ Billing \\ Budgets \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ budgets` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-billing-budgets/latest/V1.Budget>` List of the budgets owned by the requested billing account. |
| `↳ next_page_token` | `string` If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new `ListBudgetsRequest`. |

### getBudgets

List of the budgets owned by the requested billing account.

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

### setBudgets

List of the budgets owned by the requested billing account.

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

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

### getNextPageToken

If not empty, indicates that there may be more budgets that match the
request; this value should be passed in a new `ListBudgetsRequest`.

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

### setNextPageToken

If not empty, indicates that there may be more budgets that match the
request; this value should be passed in a new `ListBudgetsRequest`.

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

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