public sealed class CreateTagRequest : IMessage<CreateTagRequest>, IEquatable<CreateTagRequest>, IDeepCloneable<CreateTagRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Data Catalog v1 API class CreateTagRequest.
Request message for
[CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag].
[[["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-08-28 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eCreateTagRequest\u003c/code\u003e class in the Data Catalog v1 API is 2.14.0, while the documentation also covers versions from 2.13.0 down to 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateTagRequest\u003c/code\u003e class is used to send a request message to the \u003ccode\u003eCreateTag\u003c/code\u003e method within the Data Catalog API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements the interfaces \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e of the \u003ccode\u003eCreateTagRequest\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eParent\u003c/code\u003e, which specifies the resource to attach a tag to, \u003ccode\u003eParentAsEntryName\u003c/code\u003e, which is a typed view of the parent resource name, and \u003ccode\u003eTag\u003c/code\u003e, which is the tag to be created.\u003c/p\u003e\n"]]],[],null,["# Data Catalog v1 API - Class CreateTagRequest (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.15.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.14.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.13.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.12.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.11.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.10.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.9.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.8.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.7.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.6.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.5.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.4.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.3.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.2.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.1.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.0.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.8.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.7.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.6.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.5.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.4.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.3.0/Google.Cloud.DataCatalog.V1.CreateTagRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.2.0/Google.Cloud.DataCatalog.V1.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 Data Catalog v1 API class CreateTagRequest.\n\nRequest message for\n\\[CreateTag\\]\\[google.cloud.datacatalog.v1.DataCatalog.CreateTag\\]. \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.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.CreateTagRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateTagRequest](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.CreateTagRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateTagRequest](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.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.DataCatalog.V1](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DataCatalog.V1.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\nRequired. The name of the resource to attach this tag to.\n\nTags can be attached to entries or entry groups. An entry can have up to\n1000 attached tags.\n\nNote: The tag and its child resources might not be stored in\nthe location specified in its name.\n\n### ParentAsEntryName\n\n public EntryName ParentAsEntryName { get; set; }\n\n[EntryName](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.EntryName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.CreateTagRequest#Google_Cloud_DataCatalog_V1_CreateTagRequest_Parent) resource name property.\n\n### Tag\n\n public Tag Tag { get; set; }\n\nRequired. The tag to create."]]