The size, in GB, of the disk to attach. If the size is not
specified, a default is chosen to ensure reasonable I/O performance.
If the disk type is specified as local-ssd, multiple local drives are
automatically combined to provide the requested size. Note, however, that
each physical SSD is 375GB in size, and no more than 8 drives can be
attached to a single instance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePersistentDisk\u003c/code\u003e class in the Google Cloud Life Sciences v2beta API allows configuration of a persistent disk for attachment to a virtual machine.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers properties to manage disk attributes, such as \u003ccode\u003eSizeGb\u003c/code\u003e, \u003ccode\u003eSourceImage\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, where \u003ccode\u003eSizeGb\u003c/code\u003e determines the disk size in GB, and the \u003ccode\u003eType\u003c/code\u003e property allows specifying the type of Compute Engine disk, defaulting to \u003ccode\u003epd-standard\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.0.0-beta06\u003c/code\u003e, with older versions \u003ccode\u003e2.0.0-beta05\u003c/code\u003e and \u003ccode\u003e1.0.0-beta02\u003c/code\u003e also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePersistentDisk\u003c/code\u003e class implements various interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending its functionality and compatibility.\u003c/p\u003e\n"]]],[],null,["# Cloud Life Sciences v2beta API - Class PersistentDisk (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.PersistentDisk)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/2.0.0-beta05/Google.Cloud.LifeSciences.V2Beta.PersistentDisk)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/1.0.0-beta02/Google.Cloud.LifeSciences.V2Beta.PersistentDisk) \n\n public sealed class PersistentDisk : IMessage\u003cPersistentDisk\u003e, IEquatable\u003cPersistentDisk\u003e, IDeepCloneable\u003cPersistentDisk\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Life Sciences v2beta API class PersistentDisk.\n\nConfiguration for a persistent disk to be attached to the VM.\n\nSee \u003chttps://cloud.google.com/compute/docs/disks/performance\u003e for more\ninformation about disk type, size, and performance considerations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PersistentDisk \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PersistentDisk](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.PersistentDisk), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PersistentDisk](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.PersistentDisk), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PersistentDisk](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.PersistentDisk), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.LifeSciences.V2Beta](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.LifeSciences.V2Beta.dll\n\nConstructors\n------------\n\n### PersistentDisk()\n\n public PersistentDisk()\n\n### PersistentDisk(PersistentDisk)\n\n public PersistentDisk(PersistentDisk other)\n\nProperties\n----------\n\n### SizeGb\n\n public int SizeGb { get; set; }\n\nThe size, in GB, of the disk to attach. If the size is not\nspecified, a default is chosen to ensure reasonable I/O performance.\n\nIf the disk type is specified as `local-ssd`, multiple local drives are\nautomatically combined to provide the requested size. Note, however, that\neach physical SSD is 375GB in size, and no more than 8 drives can be\nattached to a single instance.\n\n### SourceImage\n\n public string SourceImage { get; set; }\n\nAn image to put on the disk before attaching it to the VM.\n\n### Type\n\n public string Type { get; set; }\n\nThe Compute Engine disk type. If unspecified, `pd-standard` is used."]]