# Google Cloud Hypercompute Cluster V1beta Client - Class StorageConfig (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 StorageConfig.

Description of how a [storage
resource](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1beta.StorageResource) should be
mounted on a VM instance.

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

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Required. ID of the storage resource to mount, which must match a key in the cluster's [storage_resources](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/Cluster.storage_resources). |
| `↳ local_mount` | `string` Required. A directory inside the VM instance's file system where the storage resource should be mounted (e.g., `/mnt/share`). |

### getId

Required. ID of the storage resource to mount, which must match a key in
the cluster's [storage_resources](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/Cluster.storage_resources).

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

### setId

Required. ID of the storage resource to mount, which must match a key in
the cluster's [storage_resources](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/Cluster.storage_resources).

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

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

### getLocalMount

Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., `/mnt/share`).

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

### setLocalMount

Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., `/mnt/share`).

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

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