# Google Cloud OsConfig V1 Client - Class ListPatchDeploymentsResponse (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 ListPatchDeploymentsResponse.

A response message for listing patch deployments.

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

## Namespace

Google \\ Cloud \\ OsConfig \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ patch_deployments` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-osconfig/latest/V1.PatchDeployment>` The list of patch deployments. |
| `↳ next_page_token` | `string` A pagination token that can be used to get the next page of patch deployments. |

### getPatchDeployments

The list of patch deployments.

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

### setPatchDeployments

The list of patch deployments.

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

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

### getNextPageToken

A pagination token that can be used to get the next page of patch
deployments.

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

### setNextPageToken

A pagination token that can be used to get the next page of patch
deployments.

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

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