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

0.4.0 (latest) 0.3.2 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Maintenance Api V1 Client class ListResourceMaintenancesResponse.

The response structure for the ListResourceMaintenances method.

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

## Namespace

Google \\ Cloud \\ Maintenance \\ Api \\ V1

## 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/V1.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/V1.ResourceMaintenance>` |   |

### setResourceMaintenances

The resulting resource maintenances.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-maintenance/latest/V1.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` |   |