# Google Cloud Managed Kafka V1 Client - Class ListConnectClustersResponse (0.8.0)

0.8.0 (latest) 0.7.2 0.6.1 0.5.0 0.4.1 0.3.1 0.2.3 0.1.3 Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class ListConnectClustersResponse.

Response for ListConnectClusters.

Generated from protobuf message `google.cloud.managedkafka.v1.ListConnectClustersResponse`

## Namespace

Google \\ Cloud \\ ManagedKafka \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ connect_clusters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-managedkafka/latest/V1.ConnectCluster>` The list of Connect clusters in the requested parent. |
| `↳ next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getConnectClusters

The list of Connect clusters in the requested parent.

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

### setConnectClusters

The list of Connect clusters in the requested parent.

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

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

### getNextPageToken

A token that can be sent as `page_token` to retrieve the next page of
results. If this field is omitted, there are no more results.

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

### setNextPageToken

A token that can be sent as `page_token` to retrieve the next page of
results. If this field is omitted, there are no more 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` |   |