[[["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\u003eAsset\u003c/code\u003e class in the Migration Center v1 API represents a resource within an environment, such as a virtual machine or database.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsset\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAsset\u003c/code\u003e class offers various properties like \u003ccode\u003eAssetName\u003c/code\u003e, \u003ccode\u003eAssignedGroups\u003c/code\u003e, \u003ccode\u003eAttributes\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, to manage and describe the asset's details and metadata.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eAsset\u003c/code\u003e class available, with version 1.4.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAsset\u003c/code\u003e class properties can provide read only output values, such as \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eAssignedGroups\u003c/code\u003e, \u003ccode\u003eSources\u003c/code\u003e, and others.\u003c/p\u003e\n"]]],[],null,["# Migration Center v1 API - Class Asset (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.Asset)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.Asset)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.Asset)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.Asset)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.Asset) \n\n public sealed class Asset : IMessage\u003cAsset\u003e, IEquatable\u003cAsset\u003e, IDeepCloneable\u003cAsset\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Migration Center v1 API class Asset.\n\nAn asset represents a resource in your environment. Asset types include\nvirtual machines and databases. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Asset \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Asset](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.Asset), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Asset](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.Asset), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Asset](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.Asset), [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### Asset()\n\n public Asset()\n\n### Asset(Asset)\n\n public Asset(Asset other)\n\nProperties\n----------\n\n### AssetDetailsCase\n\n public Asset.AssetDetailsOneofCase AssetDetailsCase { get; }\n\n### AssetName\n\n public AssetName AssetName { get; set; }\n\n[AssetName](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.AssetName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.Asset#Google_Cloud_MigrationCenter_V1_Asset_Name) resource name property.\n\n### AssignedGroups\n\n public RepeatedField\u003cstring\u003e AssignedGroups { get; }\n\nOutput only. The list of groups that the asset is assigned to.\n\n### AssignedGroupsAsGroupNames\n\n public ResourceNameList\u003cGroupName\u003e AssignedGroupsAsGroupNames { get; }\n\n[GroupName](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.GroupName)-typed view over the [AssignedGroups](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.Asset#Google_Cloud_MigrationCenter_V1_Asset_AssignedGroups) resource name property.\n\n### Attributes\n\n public MapField\u003cstring, string\u003e Attributes { get; }\n\nGeneric asset attributes.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp when the asset was created.\n\n### InsightList\n\n public InsightList InsightList { get; set; }\n\nOutput only. The list of insights associated with the asset.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nLabels as key value pairs.\n\n### MachineDetails\n\n public MachineDetails MachineDetails { get; set; }\n\nOutput only. Asset information specific for virtual and physical\nmachines.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The full name of the asset.\n\n### PerformanceData\n\n public AssetPerformanceData PerformanceData { get; set; }\n\nOutput only. Performance data for the asset.\n\n### Sources\n\n public RepeatedField\u003cstring\u003e Sources { get; }\n\nOutput only. The list of sources contributing to the asset.\n\n### SourcesAsSourceNames\n\n public ResourceNameList\u003cSourceName\u003e SourcesAsSourceNames { get; }\n\n[SourceName](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.SourceName)-typed view over the [Sources](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.Asset#Google_Cloud_MigrationCenter_V1_Asset_Sources) resource name property.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The timestamp when the asset was last updated."]]