Class Taxonomy (3.16.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. The taxonomy display name must be unique within an organization.
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_v1beta1.types.SystemTimestamps
Output only. Timestamps about this taxonomy. Only create_time and update_time are used.
activated_policy_types MutableSequence[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.
service google.cloud.datacatalog_v1beta1.types.Taxonomy.Service
Output only. Identity of the service which owns the Taxonomy. This field is only populated when the taxonomy is created by a Google Cloud service. Currently only 'DATAPLEX' is supported.

Classes

PolicyType

PolicyType(value)

Defines policy types where policy tag can be used for.

Values: POLICY_TYPE_UNSPECIFIED (0): Unspecified policy type. FINE_GRAINED_ACCESS_CONTROL (1): Fine grained access control policy, which enables access control on tagged resources.

Service

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

The source system of the Taxonomy.