# Google Cloud Config V1 Client - Class ListDeploymentsResponse (1.8.0)

1.8.0 (latest) 1.7.2 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.5.2 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Config V1 Client class ListDeploymentsResponse.

Generated from protobuf message `google.cloud.config.v1.ListDeploymentsResponse`

## Namespace

Google \\ Cloud \\ Config \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ deployments` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-config/latest/V1.Deployment>` List of [Deployment](https://docs.cloud.google.com/php/docs/reference/cloud-config/latest/V1.Deployment)s. |
| `↳ next_page_token` | `string` Token to be supplied to the next ListDeployments request via `page_token` to obtain the next set of results. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getDeployments

List of [Deployment](https://docs.cloud.google.com/php/docs/reference/cloud-config/latest/V1.Deployment)s.

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

### setDeployments

List of [Deployment](https://docs.cloud.google.com/php/docs/reference/cloud-config/latest/V1.Deployment)s.

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

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

### getNextPageToken

Token to be supplied to the next ListDeployments request via `page_token`
to obtain the next set of results.

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

### setNextPageToken

Token to be supplied to the next ListDeployments request via `page_token`
to obtain the next set of results.

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