Description of this policy tag. If not set, defaults to empty.
The description must contain only Unicode characters,
tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes
long when encoded in UTF-8.
The name can't start or end with spaces and must be unique within the
parent taxonomy, contain only Unicode letters, numbers, underscores, dashes
and spaces, and be at most 200 bytes long when encoded in UTF-8.
Resource name of this policy tag's parent policy tag. If empty, this is a
top level tag. If not set, defaults to an empty string.
For example, for the "LatLong" policy tag in the example above, this field
contains the resource name of the "Geolocation" policy tag, and, for
"Geolocation", this field is empty.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003ePolicyTag\u003c/code\u003e class within the Google Cloud Data Catalog v1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyTag\u003c/code\u003e class represents a single policy tag within a taxonomy, which can be used to categorize and manage data, and these tags can be arranged hierarchically.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003ePolicyTag\u003c/code\u003e API are documented on the page, ranging from version 1.2.0 up to the latest release, 2.14.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyTag\u003c/code\u003e class has properties like \u003ccode\u003eChildPolicyTags\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eParentPolicyTag\u003c/code\u003e, and \u003ccode\u003ePolicyTagName\u003c/code\u003e, allowing for detailed management and definition of policy tags.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API as shown on this page is version 2.14.0, which can be found through the provided link.\u003c/p\u003e\n"]]],[],null,["# Data Catalog v1 API - Class PolicyTag (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.PolicyTag)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.15.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.14.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.13.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.12.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.11.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.10.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.9.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.8.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.7.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.6.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.5.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.4.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.3.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.2.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.1.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.0.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.8.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.7.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.6.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.5.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.4.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.3.0/Google.Cloud.DataCatalog.V1.PolicyTag)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.2.0/Google.Cloud.DataCatalog.V1.PolicyTag) \n\n public sealed class PolicyTag : IMessage\u003cPolicyTag\u003e, IEquatable\u003cPolicyTag\u003e, IDeepCloneable\u003cPolicyTag\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data Catalog v1 API class PolicyTag.\n\nDenotes one policy tag in a taxonomy, for example, SSN.\n\nPolicy tags can be defined in a hierarchy. For example: \n\n + Geolocation\n + LatLong\n + City\n + ZipCode\n\nWhere the \"Geolocation\" policy tag contains three children. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PolicyTag \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PolicyTag](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTag), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PolicyTag](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTag), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PolicyTag](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTag), [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### PolicyTag()\n\n public PolicyTag()\n\n### PolicyTag(PolicyTag)\n\n public PolicyTag(PolicyTag other)\n\nProperties\n----------\n\n### ChildPolicyTags\n\n public RepeatedField\u003cstring\u003e ChildPolicyTags { get; }\n\nOutput only. Resource names of child policy tags of this policy tag.\n\n### Description\n\n public string Description { get; set; }\n\nDescription of this policy tag. If not set, defaults to empty.\n\nThe description must contain only Unicode characters,\ntabs, newlines, carriage returns and page breaks, and be at most 2000 bytes\nlong when encoded in UTF-8.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nRequired. User-defined name of this policy tag.\n\nThe name can't start or end with spaces and must be unique within the\nparent taxonomy, contain only Unicode letters, numbers, underscores, dashes\nand spaces, and be at most 200 bytes long when encoded in UTF-8.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. Resource name of this policy tag in the URL format.\n\nThe policy tag manager generates unique taxonomy IDs and policy tag IDs.\n\n### ParentPolicyTag\n\n public string ParentPolicyTag { get; set; }\n\nResource name of this policy tag's parent policy tag. If empty, this is a\ntop level tag. If not set, defaults to an empty string.\n\nFor example, for the \"LatLong\" policy tag in the example above, this field\ncontains the resource name of the \"Geolocation\" policy tag, and, for\n\"Geolocation\", this field is empty.\n\n### PolicyTagName\n\n public PolicyTagName PolicyTagName { get; set; }\n\n[PolicyTagName](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTagName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/latest/Google.Cloud.DataCatalog.V1.PolicyTag#Google_Cloud_DataCatalog_V1_PolicyTag_Name) resource name property."]]