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 instance a "data sensitivity" taxonomy could contain the following policy tags:
::
- PII
- Account number
- Age
- SSN
- Zipcode
- Financials
- Revenue
A "data origin" taxonomy could 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 format: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}". Note that taxonomy_id's are unique and generated by Policy Tag Manager. |
display_name |
str
Required. User-defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. |
description |
str
Optional. Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. |
policy_tag_count |
int
Output only. Number of policy tags contained in this taxonomy. |
taxonomy_timestamps |
google.cloud.datacatalog_v1.types.SystemTimestamps
Output only. Timestamps about this taxonomy. Only create_time and update_time are used. |
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.