Data Catalog API methods that are related to Data Catalog search and metadata are deprecated and will be discontinued on June 1, 2026. SeeTransition from Data Catalog to Knowledge Catalog. Methods that are related to policy tags and policy tag taxonomies are not deprecated.
You must enable the Data Catalog API in the project identified by theparentparameter. For more information, seeData Catalog resource project.
HTTP request
POST https://datacatalog.googleapis.com/v1/{parent}/tagTemplates
Path parameters
Parameters
parent
string
Required. The name of the project and the template locationregion. It takes the formprojects/{project}/locations/{location}.
Query parameters
Parameters
tagTemplateId
string
Required. The ID of the tag template to create.
The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.
Request body
The request body contains an instance ofTagTemplate.
Response body
If successful, the response body contains a newly created instance ofTagTemplate.
[[["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-07-17 UTC."],[],[]]