public sealed class ComputeInstanceDataSourceProperties : IMessage<ComputeInstanceDataSourceProperties>, IEquatable<ComputeInstanceDataSourceProperties>, IDeepCloneable<ComputeInstanceDataSourceProperties>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class ComputeInstanceDataSourceProperties.
ComputeInstanceDataSourceProperties represents the properties of a
ComputeEngine resource that are stored in the DataSource.
[[["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 provides details for the \u003ccode\u003eComputeInstanceDataSourceProperties\u003c/code\u003e class within the Google Cloud Backup and DR Service v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComputeInstanceDataSourceProperties\u003c/code\u003e defines the properties of a Compute Engine resource, such as its description, machine type, name, total disk count, and total disk size in gigabytes.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities in message handling, comparison, deep cloning, and buffered operations.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eComputeInstanceDataSourceProperties\u003c/code\u003e class, one being a parameterless constructor and the other one accepting another instance of the class as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eSeveral versions of the documentation are available, including 2.1.0 (latest), 2.0.0, 1.2.0, 1.1.0 and 1.0.0-beta02.\u003c/p\u003e\n"]]],[],null,["# Backup and DR Service v1 API - Class ComputeInstanceDataSourceProperties (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.1.0/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/2.0.0/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.2.0/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.1.0/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/1.0.0-beta02/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties) \n\n public sealed class ComputeInstanceDataSourceProperties : IMessage\u003cComputeInstanceDataSourceProperties\u003e, IEquatable\u003cComputeInstanceDataSourceProperties\u003e, IDeepCloneable\u003cComputeInstanceDataSourceProperties\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup and DR Service v1 API class ComputeInstanceDataSourceProperties.\n\nComputeInstanceDataSourceProperties represents the properties of a\nComputeEngine resource that are stored in the DataSource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ComputeInstanceDataSourceProperties \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ComputeInstanceDataSourceProperties](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ComputeInstanceDataSourceProperties](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ComputeInstanceDataSourceProperties](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1.ComputeInstanceDataSourceProperties), [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.BackupDR.V1](/dotnet/docs/reference/Google.Cloud.BackupDR.V1/latest/Google.Cloud.BackupDR.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BackupDR.V1.dll\n\nConstructors\n------------\n\n### ComputeInstanceDataSourceProperties()\n\n public ComputeInstanceDataSourceProperties()\n\n### ComputeInstanceDataSourceProperties(ComputeInstanceDataSourceProperties)\n\n public ComputeInstanceDataSourceProperties(ComputeInstanceDataSourceProperties other)\n\nProperties\n----------\n\n### Description\n\n public string Description { get; set; }\n\nThe description of the Compute Engine instance.\n\n### MachineType\n\n public string MachineType { get; set; }\n\nThe machine type of the instance.\n\n### Name\n\n public string Name { get; set; }\n\nName of the compute instance backed up by the datasource.\n\n### TotalDiskCount\n\n public long TotalDiskCount { get; set; }\n\nThe total number of disks attached to the Instance.\n\n### TotalDiskSizeGb\n\n public long TotalDiskSizeGb { get; set; }\n\nThe sum of all the disk sizes."]]