Method: projects.locations.taxonomies.policyTags.create

Creates a policy tag in the specified taxonomy.

HTTP request

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

Path parameters

Parameters
parent

string

Required. Resource name of the taxonomy that the policy tag will belong to. It takes the form projects/{project}/locations/{location}/taxonomies/{taxonomies}.

Authorization requires the following IAM permission on the specified resource parent:

  • datacatalog.taxonomies.update

Request body

The request body contains an instance of PolicyTag.

Response body

If successful, the response body contains a newly created instance of PolicyTag.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.