# Google Cloud Dms V1 Client - Class ListPrivateConnectionsResponse (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class ListPrivateConnectionsResponse.

Response message for 'ListPrivateConnections' request.

Generated from protobuf message `google.cloud.clouddms.v1.ListPrivateConnectionsResponse`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ private_connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.PrivateConnection>` List of private connections. |
| `↳ next_page_token` | `string` A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getPrivateConnections

List of private connections.

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

### setPrivateConnections

List of private connections.

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

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

### getNextPageToken

A token which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

A token which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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