SerializedTaxonomy

A nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. 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

A nested protocol buffer that represents a policy tag and all its descendants.

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

string

Resource name of the policy tag.

This field is 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. At most 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.