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

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

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

When set in a
\[StorageResourceConfig\]\[google.cloud.hypercomputecluster.v1beta.StorageResourceConfig\],
indicates that an existing [Google Cloud
Storage](https://cloud.google.com/storage) bucket should be imported.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ExistingBucketConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingBucketConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ExistingBucketConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingBucketConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ExistingBucketConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingBucketConfig), [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

### ExistingBucketConfig()

    public ExistingBucketConfig()

### ExistingBucketConfig(ExistingBucketConfig)

    public ExistingBucketConfig(ExistingBucketConfig other)

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

## Properties

### Bucket

    public string Bucket { get; set; }

Required. Immutable. Name of the Cloud Storage bucket to import.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### BucketAsBucketName

    public BucketName BucketAsBucketName { get; set; }

[BucketName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.BucketName)-typed view over the [Bucket](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.ExistingBucketConfig#Google_Cloud_HypercomputeCluster_V1Beta_ExistingBucketConfig_Bucket) resource name property.

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