# Google Cloud OsConfig V1 Client - Class ListPatchDeploymentsRequest (2.2.3)

2.2.3 (latest) 2.2.2 2.1.0 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ListPatchDeploymentsRequest.

A request message for listing patch deployments.

Generated from protobuf message `google.cloud.osconfig.v1.ListPatchDeploymentsRequest`

## Namespace

Google \\ Cloud \\ OsConfig \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the parent in the form `projects/*`. |
| `↳ page_size` | `int` Optional. The maximum number of patch deployments to return. Default is 100. |
| `↳ page_token` | `string` Optional. A pagination token returned from a previous call to ListPatchDeployments that indicates where this listing should continue from. |

### getParent

Required. The resource name of the parent in the form `projects/*`.

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

### setParent

Required. The resource name of the parent in the form `projects/*`.

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

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

### getPageSize

Optional. The maximum number of patch deployments to return. Default is
100.

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

### setPageSize

Optional. The maximum number of patch deployments to return. Default is
100.

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

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

### getPageToken

Optional. A pagination token returned from a previous call to
ListPatchDeployments that indicates where this listing should continue
from.

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

### setPageToken

Optional. A pagination token returned from a previous call to
ListPatchDeployments that indicates where this listing should continue
from.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the parent in the form `projects/*`. Please see OsConfigServiceClient::projectName() for help formatting this field. |

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