Class Taxonomy (3.9.0)

Taxonomy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A taxonomy is a collection of policy tags that classify data along a common axis. For instance a data sensitivity taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data origin taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.

Attributes

NameDescription
name str
Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
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.
activated_policy_types Sequence[google.cloud.datacatalog_v1beta1.types.Taxonomy.PolicyType]
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 policy tag can be used for.