Disk storage type, as defined by Google Compute Engine. This
must be a disk type appropriate to the project and zone in which
the workers will run. If unknown or unspecified, the service
will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name
typically ending in "pd-standard". If SSD persistent disks are
available, the resource name typically ends with "pd-ssd". The
actual valid values are defined the Google Compute Engine API,
not by the Cloud Dataflow API; consult the Google Compute Engine
documentation for more information about determining the set of
available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular
project in a particular zone, and so the resource name will
typically look something like this:
[[["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\u003eThis documentation details the \u003ccode\u003eDisk\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dataflow.V1Beta3\u003c/code\u003e namespace, which is part of the Dataflow v1beta3 API for describing data disks used by workflow jobs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisk\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing capabilities for message handling, equality comparisons, deep cloning, and buffer manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisk\u003c/code\u003e class has three properties: \u003ccode\u003eDiskType\u003c/code\u003e, which specifies the disk storage type; \u003ccode\u003eMountPoint\u003c/code\u003e, which indicates the directory where the disk is mounted in a VM; and \u003ccode\u003eSizeGb\u003c/code\u003e, which defines the size of the disk in GB.\u003c/p\u003e\n"],["\u003cp\u003eThere are three available versions of this \u003ccode\u003eDisk\u003c/code\u003e class: 2.0.0-beta07 (latest), 2.0.0-beta06, and 1.0.0-beta03, each accessible via their respective documentation links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisk\u003c/code\u003e class provides two constructors, one default (\u003ccode\u003eDisk()\u003c/code\u003e) and one that takes another \u003ccode\u003eDisk\u003c/code\u003e object as a parameter (\u003ccode\u003eDisk(Disk other)\u003c/code\u003e) for copying properties.\u003c/p\u003e\n"]]],[],null,["# Dataflow v1beta3 API - Class Disk (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Disk)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/2.0.0-beta06/Google.Cloud.Dataflow.V1Beta3.Disk)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/1.0.0-beta03/Google.Cloud.Dataflow.V1Beta3.Disk) \n\n public sealed class Disk : IMessage\u003cDisk\u003e, IEquatable\u003cDisk\u003e, IDeepCloneable\u003cDisk\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataflow v1beta3 API class Disk.\n\nDescribes the data disk used by a workflow job. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Disk \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Disk](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Disk), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Disk](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Disk), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Disk](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.Disk), [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.Dataflow.V1Beta3](/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataflow.V1Beta3.dll\n\nConstructors\n------------\n\n### Disk()\n\n public Disk()\n\n### Disk(Disk)\n\n public Disk(Disk other)\n\nProperties\n----------\n\n### DiskType\n\n public string DiskType { get; set; }\n\nDisk storage type, as defined by Google Compute Engine. This\nmust be a disk type appropriate to the project and zone in which\nthe workers will run. If unknown or unspecified, the service\nwill attempt to choose a reasonable default.\n\nFor example, the standard persistent disk type is a resource name\ntypically ending in \"pd-standard\". If SSD persistent disks are\navailable, the resource name typically ends with \"pd-ssd\". The\nactual valid values are defined the Google Compute Engine API,\nnot by the Cloud Dataflow API; consult the Google Compute Engine\ndocumentation for more information about determining the set of\navailable disk types for a particular project and zone.\n\nGoogle Compute Engine Disk types are local to a particular\nproject in a particular zone, and so the resource name will\ntypically look something like this:\n\ncompute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard\n\n### MountPoint\n\n public string MountPoint { get; set; }\n\nDirectory in a VM where disk is mounted.\n\n### SizeGb\n\n public int SizeGb { get; set; }\n\nSize of disk in GB. If zero or unspecified, the service will\nattempt to choose a reasonable default."]]