public sealed class CreateTagRequest : IMessage<CreateTagRequest>, IEquatable<CreateTagRequest>, IDeepCloneable<CreateTagRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1beta2 API class CreateTagRequest.
[[["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\u003eCreateTagRequest\u003c/code\u003e class in the Artifact Registry v1beta2 API is used to create a new tag, as indicated by the request's description.\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, ensuring compatibility with various Protobuf and .NET functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThere are three different version available for \u003ccode\u003eCreateTagRequest\u003c/code\u003e, with \u003ccode\u003e2.0.0-beta05\u003c/code\u003e being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateTagRequest\u003c/code\u003e class contains three properties: \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eTag\u003c/code\u003e, and \u003ccode\u003eTagId\u003c/code\u003e, which define the parent resource, the tag itself, and the tag identifier, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be instanciated with two constructors: the default constructor \u003ccode\u003eCreateTagRequest()\u003c/code\u003e, and \u003ccode\u003eCreateTagRequest(CreateTagRequest other)\u003c/code\u003e for a deep clone.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Class CreateTagRequest (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.CreateTagRequest)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.CreateTagRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.CreateTagRequest) \n\n public sealed class CreateTagRequest : IMessage\u003cCreateTagRequest\u003e, IEquatable\u003cCreateTagRequest\u003e, IDeepCloneable\u003cCreateTagRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1beta2 API class CreateTagRequest.\n\nThe request to create a new tag. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateTagRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateTagRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.CreateTagRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateTagRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.CreateTagRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateTagRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.CreateTagRequest), [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### CreateTagRequest()\n\n public CreateTagRequest()\n\n### CreateTagRequest(CreateTagRequest)\n\n public CreateTagRequest(CreateTagRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nThe name of the parent resource where the tag will be created.\n\n### Tag\n\n public Tag Tag { get; set; }\n\nThe tag to be created.\n\n### TagId\n\n public string TagId { get; set; }\n\nThe tag id to use for this repository."]]