SerializedTaxonomy

Message representing a taxonomy, including its policy tags in hierarchy, as a nested proto. Used for taxonomy replacement, import, and export.

JSON representation
{
  "displayName": string,
  "description": string,
  "policyTags": [
    {
      object (SerializedPolicyTag)
    }
  ],
  "activatedPolicyTypes": [
    enum (PolicyType)
  ]
}
Fields
displayName

string

Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.

description

string

Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

policyTags[]

object (SerializedPolicyTag)

Top level policy tags associated with the taxonomy, if any.

activatedPolicyTypes[]

enum (PolicyType)

A list of policy types that are activated per taxonomy.

SerializedPolicyTag

Message representing one policy tag, including all its descendant policy tags, as a nested proto.

JSON representation
{
  "policyTag": string,
  "displayName": string,
  "description": string,
  "childPolicyTags": [
    {
      object (SerializedPolicyTag)
    }
  ]
}
Fields
policyTag

string

Resource name of the policy tag.

This field will be ignored when calling taxonomies.import.

displayName

string

Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.

description

string

Description of the serialized policy tag. The length of the description is limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.

childPolicyTags[]

object (SerializedPolicyTag)

Children of the policy tag, if any.