Class Taxonomy

A taxonomy is a collection of hierarchical policy tags that classify data along a common axis.

For example, a "data sensitivity" taxonomy might contain the following policy tags:

::

  • PII
    • Account number
    • Age
    • SSN
    • Zipcode
  • Financials
    • Revenue

A "data origin" taxonomy might contain the following policy tags:

::

  • User data
  • Employee data
  • Partner data
  • Public data
Attributes
NameDescription
strname
Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
strdisplay_name
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.
strdescription
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.
intpolicy_tag_count
Output only. Number of policy tags in this taxonomy.
google.cloud.datacatalog_v1.types.SystemTimestampstaxonomy_timestamps
Output only. Creation and modification timestamps of this taxonomy.
Sequence[google.cloud.datacatalog_v1.types.Taxonomy.PolicyType]activated_policy_types
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.

Inheritance

builtins.object > proto.message.Message > Taxonomy

Classes

PolicyType

PolicyType(value)

Defines policy types where the policy tags can be used for.