Taxonomy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
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 | |
---|---|
Name | Description |
name |
str
Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs. |
display_name |
str
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. |
description |
str
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. |
policy_tag_count |
int
Output only. Number of policy tags in this taxonomy. |
taxonomy_timestamps |
google.cloud.datacatalog_v1.types.SystemTimestamps
Output only. Creation and modification timestamps of this taxonomy. |
activated_policy_types |
Sequence[google.cloud.datacatalog_v1.types.Taxonomy.PolicyType]
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. |
Classes
PolicyType
PolicyType(value)
Defines policy types where the policy tags can be used for.