# Google Cloud Managed Kafka V1 Client - Class GetConnectClusterRequest (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 GetConnectClusterRequest.

Request for GetConnectCluster.

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

## Namespace

Google \\ Cloud \\ ManagedKafka \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the Kafka Connect cluster whose configuration to return. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. |

### getName

Required. The name of the Kafka Connect cluster whose configuration to
return. Structured like
`projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

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

### setName

Required. The name of the Kafka Connect cluster whose configuration to
return. Structured like
`projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the Kafka Connect cluster whose configuration to return. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. Please see ManagedKafkaConnectClient::connectClusterName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-managedkafka/latest/V1.GetConnectClusterRequest` |   |