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

Message describing Google Cloud Storage autoclass configuration

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

## Namespace

Google \\ Cloud \\ HypercomputeCluster \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enabled` | `bool` Required. Enables Auto-class feature. |
| `↳ terminal_storage_class` | `int` Optional. Terminal storage class of the autoclass bucket |

### getEnabled

Required. Enables Auto-class feature.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnabled

Required. Enables Auto-class feature.

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

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

### getTerminalStorageClass

Optional. Terminal storage class of the autoclass bucket

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [TerminalStorageClass](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1beta.GcsAutoclassConfig.TerminalStorageClass). |

### setTerminalStorageClass

Optional. Terminal storage class of the autoclass bucket

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [TerminalStorageClass](https://docs.cloud.google.com/php/docs/reference/cloud-hypercomputecluster/latest/V1beta.GcsAutoclassConfig.TerminalStorageClass). |

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