# Google Cloud Hypercompute Cluster V1 Client - Class UpdateClusterRequest (0.3.0)

0.3.0 (latest) 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1 Client class UpdateClusterRequest.

Request message for
[UpdateCluster](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.Client.HypercomputeClusterClient#_Google_Cloud_HypercomputeCluster_V1_Client_HypercomputeClusterClient__updateCluster__).

Generated from protobuf message `google.cloud.hypercomputecluster.v1.UpdateClusterRequest`

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cluster` | `https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.Cluster` Required. Cluster to update. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Mask specifying which fields in the cluster to update. All paths must be specified explicitly - wildcards are not supported. At least one path must be provided. |
| `↳ 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. |

### getCluster

Required. Cluster to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.Cluster|null` |   |

### hasCluster

### clearCluster

### setCluster

Required. Cluster to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.Cluster` |

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

### getUpdateMask

Optional. Mask specifying which fields in the cluster to update. All paths
must be specified explicitly - wildcards are not supported. At least one
path must be provided.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. Mask specifying which fields in the cluster to update. All paths
must be specified explicitly - wildcards are not supported. At least one
path must be provided.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `cluster` | `https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1.Cluster` Required. Cluster to update. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. Mask specifying which fields in the cluster to update. All paths must be specified explicitly - wildcards are not supported. At least one path must be provided. |

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