v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1335123147.4 KB
projects

Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags.

post/v1/{+parent}/taxonomies

Path parameters

parentstring required

Required. Resource name of the project that the taxonomy will belong to.

Request body

namestring

Identifier. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.

displayNamestring

Required. User-defined name of this taxonomy. The name can't start or end with spaces, must contain only Unicode letters, numbers, underscores, dashes, and spaces, and be at most 200 bytes long when encoded in UTF-8. The taxonomy display name must be unique within an organization.

descriptionstring

Optional. Description of this taxonomy. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns, and page breaks, and be at most 2000 bytes long when encoded in UTF-8.

policyTagCountinteger

Output only. Number of policy tags in this taxonomy.

activatedPolicyTypesstring[]

Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.

Response

Successful response