# Cluster Director v1beta API - Class StorageResourceConfig (1.0.0-beta01)

    public sealed class StorageResourceConfig : IMessage<StorageResourceConfig>, IEquatable<StorageResourceConfig>, IDeepCloneable<StorageResourceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cluster Director v1beta API class StorageResourceConfig.

Describes how a storage resource should be initialized. Each storage resource
can either be imported from an existing Google Cloud resource or initialized
when the cluster is created.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StorageResourceConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StorageResourceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageResourceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StorageResourceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageResourceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StorageResourceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageResourceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.HypercomputeCluster.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta)

## Assembly

Google.Cloud.HypercomputeCluster.V1Beta.dll

## Constructors

### StorageResourceConfig()

    public StorageResourceConfig()

### StorageResourceConfig(StorageResourceConfig)

    public StorageResourceConfig(StorageResourceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageResourceConfig` |

## Properties

### ConfigCase

    public StorageResourceConfig.ConfigOneofCase ConfigCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageResourceConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.StorageResourceConfig.ConfigOneofCase` |   |

### ExistingBucket

    public ExistingBucketConfig ExistingBucket { get; set; }

Optional. Immutable. If set, indicates that an existing Cloud Storage
bucket should be imported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingBucketConfig` |   |

### ExistingFilestore

    public ExistingFilestoreConfig ExistingFilestore { get; set; }

Optional. Immutable. If set, indicates that an existing Filestore
instance should be imported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingFilestoreConfig` |   |

### ExistingLustre

    public ExistingLustreConfig ExistingLustre { get; set; }

Optional. Immutable. If set, indicates that an existing Managed Lustre
instance should be imported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingLustreConfig` |   |

### NewBucket

    public NewBucketConfig NewBucket { get; set; }

Optional. Immutable. If set, indicates that a new Cloud Storage bucket
should be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NewBucketConfig` |   |

### NewFilestore

    public NewFilestoreConfig NewFilestore { get; set; }

Optional. Immutable. If set, indicates that a new Filestore instance
should be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NewFilestoreConfig` |   |

### NewLustre

    public NewLustreConfig NewLustre { get; set; }

Optional. Immutable. If set, indicates that a new Managed Lustre instance
should be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.NewLustreConfig` |   |