- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates a tag template.
You must enable the Data Catalog API in the project identified by the parent
parameter. For more information, see Data Catalog resource project.
HTTP request
POST https://datacatalog.googleapis.com/v1/{parent}/tagTemplates
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the project and the template location region. It takes the form |
Query parameters
Parameters | |
---|---|
tagTemplateId |
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 of TagTemplate
.
Response body
If successful, the response body contains a newly created instance of TagTemplate
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.