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

Request message for SummarizeMaintenances custom method.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent of the resource maintenance. eg. `projects/123/locations/*` |
| `↳ page_size` | `int` The maximum number of resource maintenances to send per page. The default page size is 20 and the maximum is 1000. |
| `↳ page_token` | `string` The page token: If the next_page_token from a previous response is provided, this request will send the subsequent page. |
| `↳ filter` | `string` Filter the list as specified in <https://google.aip.dev/160>. Supported fields include: - `maintenance.maintenanceName` Examples: - `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"` |
| `↳ order_by` | `string` Order results as specified in <https://google.aip.dev/132>. |

### getParent

Required. The parent of the resource maintenance.

eg. `projects/123/locations/*`

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

### setParent

Required. The parent of the resource maintenance.

eg. `projects/123/locations/*`

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

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

### getPageSize

The maximum number of resource maintenances to send per page. The default
page size is 20 and the maximum is 1000.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

The maximum number of resource maintenances to send per page. The default
page size is 20 and the maximum is 1000.

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

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

### getPageToken

The page token: If the next_page_token from a previous response
is provided, this request will send the subsequent page.

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

### setPageToken

The page token: If the next_page_token from a previous response
is provided, this request will send the subsequent page.

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

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

### getFilter

Filter the list as specified in <https://google.aip.dev/160>.

Supported fields include:

- `maintenance.maintenanceName` Examples:
- `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`

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

### setFilter

Filter the list as specified in <https://google.aip.dev/160>.

Supported fields include:

- `maintenance.maintenanceName` Examples:
- `maintenance.maintenanceName="eb3b709c-9ca1-5472-9fb6-800a3849eda1"`

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

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

### getOrderBy

Order results as specified in <https://google.aip.dev/132>.

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

### setOrderBy

Order results as specified in <https://google.aip.dev/132>.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent of the resource maintenance. eg. `projects/123/locations/*` Please see MaintenanceClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-maintenance/latest/V1.SummarizeMaintenancesRequest` |   |