# Google Cloud Network Management V1 Client - Class ListConnectivityTestsResponse (2.9.2)

2.9.2 (latest) 2.9.1 2.8.0 2.7.0 2.6.1 2.5.0 2.4.2 2.3.2 2.2.1 2.1.1 2.0.1 1.7.3 1.5.0 1.4.2 1.3.0 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Network Management V1 Client class ListConnectivityTestsResponse.

Response for the `ListConnectivityTests` method.

Generated from protobuf message `google.cloud.networkmanagement.v1.ListConnectivityTestsResponse`

## Namespace

Google \\ Cloud \\ NetworkManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resources` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-network-management/latest/V1.ConnectivityTest>` List of Connectivity Tests. |
| `↳ next_page_token` | `string` Page token to fetch the next set of Connectivity Tests. |
| `↳ unreachable` | `string[]` Locations that could not be reached (when querying all locations with `-`). |

### getResources

List of Connectivity Tests.

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

### setResources

List of Connectivity Tests.

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

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

### getNextPageToken

Page token to fetch the next set of Connectivity Tests.

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

### setNextPageToken

Page token to fetch the next set of Connectivity Tests.

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

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

### getUnreachable

Locations that could not be reached (when querying all locations with `-`).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

Locations that could not be reached (when querying all locations with `-`).

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

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