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

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

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

A [Persistent disk](https://cloud.google.com/compute/docs/disks) used as the
boot disk for a Compute Engine VM instance.

## Inheritance

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

## Implements

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

### BootDisk()

    public BootDisk()

### BootDisk(BootDisk)

    public BootDisk(BootDisk other)

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

## Properties

### SizeGb

    public long SizeGb { get; set; }

Required. Immutable. Size of the disk in gigabytes. Must be at least 10GB.

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

### Type

    public string Type { get; set; }

Required. Immutable. [Persistent disk
type](https://cloud.google.com/compute/docs/disks#disk-types), in the
format `projects/{project}/zones/{zone}/diskTypes/{disk_type}`.

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

### TypeAsDiskTypeName

    public DiskTypeName TypeAsDiskTypeName { get; set; }

[DiskTypeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.DiskTypeName)-typed view over the [Type](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.HypercomputeCluster.V1Beta/latest/Google.Cloud.HypercomputeCluster.V1Beta.BootDisk#Google_Cloud_HypercomputeCluster_V1Beta_BootDisk_Type) resource name property.

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