1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class PersistentDiskSpec.

Represents the spec of \[persistent
disk\]\[<https://cloud.google.com/compute/docs/disks/persistent-disks>\] options.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### PersistentDiskSpec()

    public PersistentDiskSpec()

### PersistentDiskSpec(PersistentDiskSpec)

    public PersistentDiskSpec(PersistentDiskSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PersistentDiskSpec` |

## Properties

### DiskSizeGb

    public long DiskSizeGb { get; set; }

Size in GB of the disk (default is 100GB).

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

### DiskType

    public string DiskType { get; set; }

Type of the disk (default is "pd-standard").
Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
"pd-standard" (Persistent Disk Hard Disk Drive)
"pd-balanced" (Balanced Persistent Disk)
"pd-extreme" (Extreme Persistent Disk)

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