# Google Cloud Maintenance Api V1 Client - Class SummarizeMaintenancesResponse (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 SummarizeMaintenancesResponse.

Request message for SummarizeMaintenances custom method.

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

## Namespace

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

## Methods

### __construct

Constructor.

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

### getMaintenances

The resulting summaries.

| **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.MaintenanceSummary>` |   |

### setMaintenances

The resulting summaries.

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

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

### getNextPageToken

If present, the next page token can be provided to a subsequent
SummarizeMaintenances 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
SummarizeMaintenances call to list the next page.

If empty, there are no more pages.

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

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

### getUnreachable

Unordered list. Locations that could not be reached.

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

### setUnreachable

Unordered list. Locations that could not be reached.

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

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