Method: projects.locations.tagTemplates.create

Creates a tag template. The user should enable the Data Catalog API in the project identified by the parent parameter (see Data Catalog Resource Project for more information).

HTTP request

POST https://datacatalog.googleapis.com/v1beta1/{parent}/tagTemplates

Path parameters

Parameters
parent

string

Required. The name of the project and the template location [region](https://cloud.google.com/data-catalog/docs/concepts/regions.

Example:

  • projects/{projectId}/locations/us-central1 It takes the form projects/{project}/locations/{location}.

Query parameters

Parameters
tagTemplateId

string

Required. The id of the tag template to create.

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.