# Google Cloud Maintenance Api V1beta Client - Class ListResourceMaintenancesResponse (0.4.0)

0.4.0 (latest) 0.3.2 0.2.1 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Maintenance Api V1beta Client class ListResourceMaintenancesResponse.

The response structure for the ListResourceMaintenances method.

Generated from protobuf message `google.cloud.maintenance.api.v1beta.ListResourceMaintenancesResponse`

## Namespace

Google \\ Cloud \\ Maintenance \\ Api \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resource_maintenances` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-maintenance/latest/V1beta.ResourceMaintenance>` The resulting resource maintenances. |
| `↳ next_page_token` | `string` If present, the next page token can be provided to a subsequent ListResourceMaintenances call to list the next page. If empty, there are no more pages. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getResourceMaintenances

The resulting resource maintenances.

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

### setResourceMaintenances

The resulting resource maintenances.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-maintenance/latest/V1beta.ResourceMaintenance>` |

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

### getNextPageToken

If present, the next page token can be provided to a subsequent
ListResourceMaintenances call to list the next page.

If empty, there are no more pages.

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

### setNextPageToken

If present, the next page token can be provided to a subsequent
ListResourceMaintenances call to list the next page.

If empty, there are no more pages.

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

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

### getUnreachable

Locations that could not be reached.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

Locations that could not be reached.

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

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