public sealed class AwsSourceDetails.Types.Tag : IMessage<AwsSourceDetails.Types.Tag>, IEquatable<AwsSourceDetails.Types.Tag>, IDeepCloneable<AwsSourceDetails.Types.Tag>, IBufferMessage, IMessage
Reference documentation and code samples for the VM Migration v1 API class AwsSourceDetails.Types.Tag.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAwsSourceDetails.Types.Tag\u003c/code\u003e class represents an AWS tag within the VM Migration v1 API, serving as a data structure for tag information.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, facilitating its use in message passing and data manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.6.0, and the API also offers versioning with previous versions like 2.5.0, 2.4.0, all the way back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTag\u003c/code\u003e class provides two properties, \u003ccode\u003eKey\u003c/code\u003e and \u003ccode\u003eValue\u003c/code\u003e, both of the type \u003ccode\u003estring\u003c/code\u003e, allowing to store the tag's key and value, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor (\u003ccode\u003eTag()\u003c/code\u003e) and a constructor that accepts another \u003ccode\u003eAwsSourceDetails.Types.Tag\u003c/code\u003e object for cloning (\u003ccode\u003eTag(Tag)\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,["# VM Migration v1 API - Class AwsSourceDetails.Types.Tag (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag) \n\n public sealed class AwsSourceDetails.Types.Tag : IMessage\u003cAwsSourceDetails.Types.Tag\u003e, IEquatable\u003cAwsSourceDetails.Types.Tag\u003e, IDeepCloneable\u003cAwsSourceDetails.Types.Tag\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the VM Migration v1 API class AwsSourceDetails.Types.Tag.\n\nTag is an AWS tag representation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AwsSourceDetails.Types.Tag \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AwsSourceDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails)[Types](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types)[Tag](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AwsSourceDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails)[Types](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types)[Tag](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AwsSourceDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails)[Types](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types)[Tag](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.AwsSourceDetails.Types.Tag), [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.VMMigration.V1](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VMMigration.V1.dll\n\nConstructors\n------------\n\n### Tag()\n\n public Tag()\n\n### Tag(Tag)\n\n public Tag(AwsSourceDetails.Types.Tag other)\n\nProperties\n----------\n\n### Key\n\n public string Key { get; set; }\n\nKey of tag.\n\n### Value\n\n public string Value { get; set; }\n\nValue of tag."]]