# Google Cloud Hypercompute Cluster V1beta Client - Class DeleteClusterRequest (0.3.0)

0.3.0 (latest) 0.2.0 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class DeleteClusterRequest.

Request message for
[DeleteCluster](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1beta.Client.HypercomputeClusterClient#_Google_Cloud_HypercomputeCluster_V1beta_Client_HypercomputeClusterClient__deleteCluster__).

Generated from protobuf message `google.cloud.hypercomputecluster.v1beta.DeleteClusterRequest`

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of the cluster to delete, in the format `projects/{project}/locations/{location}/clusters/{cluster}`. |
| `↳ request_id` | `string` Optional. A unique identifier for this request. A random UUID is recommended. This request is idempotent if and only if `request_id` is provided. |

### getName

Required. Name of the cluster to delete, in the format
`projects/{project}/locations/{location}/clusters/{cluster}`.

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

### setName

Required. Name of the cluster to delete, in the format
`projects/{project}/locations/{location}/clusters/{cluster}`.

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

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

### getRequestId

Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if `request_id` is
provided.

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

### setRequestId

Optional. A unique identifier for this request. A random UUID is
recommended. This request is idempotent if and only if `request_id` is
provided.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the cluster to delete, in the format `projects/{project}/locations/{location}/clusters/{cluster}`. Please see HypercomputeClusterClient::clusterName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1beta.DeleteClusterRequest` |   |