The name of the tag, for example:
"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
If the package part contains slashes, the slashes are escaped.
The tag part can only have characters in [a-zA-Z0-9-._~:@], anything else
must be URL encoded.
The name of the version the tag refers to, for example:
"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
If the package or version ID parts contain slashes, the slashes are
escaped.
[[["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\u003eTag\u003c/code\u003e class in the Artifact Registry v1beta2 API represents a tag that points to a specific version of a package, serving as an alternative access name.\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, providing functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two constructors: a default constructor \u003ccode\u003eTag()\u003c/code\u003e and a copy constructor \u003ccode\u003eTag(Tag other)\u003c/code\u003e, allowing for object creation and duplication.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTag\u003c/code\u003e class has properties \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eTagName\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, defining the tag's name, a typed view of the name, and the version it refers to, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt has been released in three different versions: \u003ccode\u003e2.0.0-beta05\u003c/code\u003e, \u003ccode\u003e2.0.0-beta04\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta06\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Class Tag (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.Tag)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.Tag)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.Tag) \n\n public sealed class Tag : IMessage\u003cTag\u003e, IEquatable\u003cTag\u003e, IDeepCloneable\u003cTag\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1beta2 API class Tag.\n\nTags point to a version and represent an alternative name that can be used\nto access the version. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Tag \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Tag](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.Tag), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Tag](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.Tag), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Tag](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.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.ArtifactRegistry.V1Beta2](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.ArtifactRegistry.V1Beta2.dll\n\nConstructors\n------------\n\n### Tag()\n\n public Tag()\n\n### Tag(Tag)\n\n public Tag(Tag other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the tag, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1\".\nIf the package part contains slashes, the slashes are escaped.\nThe tag part can only have characters in \\[a-zA-Z0-9-._\\~:@\\], anything else\nmust be URL encoded.\n\n### TagName\n\n public TagName TagName { get; set; }\n\n[TagName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.TagName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.Tag#Google_Cloud_ArtifactRegistry_V1Beta2_Tag_Name) resource name property.\n\n### Version\n\n public string Version { get; set; }\n\nThe name of the version the tag refers to, for example:\n\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811\"\nIf the package or version ID parts contain slashes, the slashes are\nescaped."]]