public sealed class ComputeStorageDescriptor : IMessage<ComputeStorageDescriptor>, IEquatable<ComputeStorageDescriptor>, IDeepCloneable<ComputeStorageDescriptor>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class ComputeStorageDescriptor.
[[["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 latest version of the \u003ccode\u003eComputeStorageDescriptor\u003c/code\u003e class in the Migration Center v1 API is 1.4.0, with prior versions available from 1.0.0 onward.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComputeStorageDescriptor\u003c/code\u003e is a class used to describe Compute Engine storage options, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and provides two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003eComputeStorageDescriptor\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComputeStorageDescriptor\u003c/code\u003e includes properties such as \u003ccode\u003eSizeGb\u003c/code\u003e, representing the disk size in GiB as an integer, and \u003ccode\u003eType\u003c/code\u003e, indicating the \u003ccode\u003ePersistentDiskType\u003c/code\u003e of the storage.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1\u003c/code\u003e and it is located within the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Migration Center v1 API - Class ComputeStorageDescriptor (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor) \n\n public sealed class ComputeStorageDescriptor : IMessage\u003cComputeStorageDescriptor\u003e, IEquatable\u003cComputeStorageDescriptor\u003e, IDeepCloneable\u003cComputeStorageDescriptor\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Migration Center v1 API class ComputeStorageDescriptor.\n\nCompute Engine storage option descriptor. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ComputeStorageDescriptor \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ComputeStorageDescriptor](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ComputeStorageDescriptor](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ComputeStorageDescriptor](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ComputeStorageDescriptor), [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.MigrationCenter.V1](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.MigrationCenter.V1.dll\n\nConstructors\n------------\n\n### ComputeStorageDescriptor()\n\n public ComputeStorageDescriptor()\n\n### ComputeStorageDescriptor(ComputeStorageDescriptor)\n\n public ComputeStorageDescriptor(ComputeStorageDescriptor other)\n\nProperties\n----------\n\n### SizeGb\n\n public int SizeGb { get; set; }\n\nDisk size in GiB.\n\n### Type\n\n public PersistentDiskType Type { get; set; }\n\nDisk type backing the storage."]]