[BindServiceMethod(typeof(PolicyTagManagerSerialization), "BindService")]public abstract class PolicyTagManagerSerialization.PolicyTagManagerSerializationBase
Reference documentation and code samples for the Data Catalog v1 API class PolicyTagManagerSerialization.PolicyTagManagerSerializationBase.
Base class for server-side implementations of PolicyTagManagerSerialization
[[["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 page provides reference documentation for the \u003ccode\u003ePolicyTagManagerSerialization.PolicyTagManagerSerializationBase\u003c/code\u003e class within the Google Cloud Data Catalog v1 API, specifically in the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003ePolicyTagManagerSerialization.PolicyTagManagerSerializationBase\u003c/code\u003e is 2.14.0, but the documentation also includes links to previous versions, dating back to version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers three core methods for managing taxonomies and policy tags: \u003ccode\u003eExportTaxonomies\u003c/code\u003e, \u003ccode\u003eImportTaxonomies\u003c/code\u003e, and \u003ccode\u003eReplaceTaxonomy\u003c/code\u003e, each detailed with parameter and return information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExportTaxonomies\u003c/code\u003e method allows users to retrieve taxonomies, including their policy tags, in a serialized format for potential reuse, and the \u003ccode\u003eImportTaxonomies\u003c/code\u003e method allows for the creation of new taxonomies from imported or inlined sources.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003eReplaceTaxonomy\u003c/code\u003e enables updates to existing taxonomies and policy tags by replacing them using the \u003ccode\u003eSerializedTaxonomy\u003c/code\u003e and \u003ccode\u003eSerializedPolicyTag\u003c/code\u003e messages, handling deletion, creation, and updating of policy tags accordingly.\u003c/p\u003e\n"]]],[],null,["# Data Catalog v1 API - Class PolicyTagManagerSerialization.PolicyTagManagerSerializationBase (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.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.15.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.14.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.13.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.12.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.11.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.10.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.9.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.8.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.7.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.6.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.5.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.4.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.3.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.2.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.1.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/2.0.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.8.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.7.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.6.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.5.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.4.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.3.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DataCatalog.V1/1.2.0/Google.Cloud.DataCatalog.V1.PolicyTagManagerSerialization.PolicyTagManagerSerializationBase) \n\n [BindServiceMethod(typeof(PolicyTagManagerSerialization), \"BindService\")]\n public abstract class PolicyTagManagerSerialization.PolicyTagManagerSerializationBase\n\nReference documentation and code samples for the Data Catalog v1 API class PolicyTagManagerSerialization.PolicyTagManagerSerializationBase.\n\nBase class for server-side implementations of PolicyTagManagerSerialization \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PolicyTagManagerSerialization.PolicyTagManagerSerializationBase \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \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\nMethods\n-------\n\n### ExportTaxonomies(ExportTaxonomiesRequest, ServerCallContext)\n\n public virtual Task\u003cExportTaxonomiesResponse\u003e ExportTaxonomies(ExportTaxonomiesRequest request, ServerCallContext context)\n\nExports taxonomies in the requested type and returns them,\nincluding their policy tags. The requested taxonomies must belong to the\nsame project.\n\nThis method generates `SerializedTaxonomy` protocol buffers with nested\npolicy tags that can be used as input for `ImportTaxonomies` calls.\n\n### ImportTaxonomies(ImportTaxonomiesRequest, ServerCallContext)\n\n public virtual Task\u003cImportTaxonomiesResponse\u003e ImportTaxonomies(ImportTaxonomiesRequest request, ServerCallContext context)\n\nCreates new taxonomies (including their policy tags) in a given project\nby importing from inlined or cross-regional sources.\n\nFor a cross-regional source, new taxonomies are created by copying\nfrom a source in another region.\n\nFor an inlined source, taxonomies and policy tags are created in bulk using\nnested protocol buffer structures.\n\n### ReplaceTaxonomy(ReplaceTaxonomyRequest, ServerCallContext)\n\n public virtual Task\u003cTaxonomy\u003e ReplaceTaxonomy(ReplaceTaxonomyRequest request, ServerCallContext context)\n\nReplaces (updates) a taxonomy and all its policy tags.\n\nThe taxonomy and its entire hierarchy of policy tags must be\nrepresented literally by `SerializedTaxonomy` and the nested\n`SerializedPolicyTag` messages.\n\nThis operation automatically does the following:\n\n- Deletes the existing policy tags that are missing from the `SerializedPolicyTag`.\n- Creates policy tags that don't have resource names. They are considered new.\n- Updates policy tags with valid resources names accordingly."]]