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

The response message for the ListDeploymentGroups method.

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

## Namespace

Google \\ Cloud \\ Config \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ deployment_groups` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-config/latest/V1.DeploymentGroup>` The deployment groups from the specified collection. |
| `↳ next_page_token` | `string` Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getDeploymentGroups

The deployment groups from the specified collection.

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

### setDeploymentGroups

The deployment groups from the specified collection.

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

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

### getNextPageToken

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

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

### setNextPageToken

Token to be supplied to the next ListDeploymentGroups 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` |   |