Reference documentation and code samples for the Google Cloud Data Catalog V1 Client 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
Generated from protobuf message google.cloud.datacatalog.v1.Taxonomy
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
↳ display_name
string
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. The taxonomy display name must be unique within an organization.
↳ description
string
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\SystemTimestamps
Output only. Creation and modification timestamps of this taxonomy.
↳ activated_policy_types
array
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
↳ service
Google\Cloud\DataCatalog\V1\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.
getName
Output only. Resource name of this taxonomy in URL format.
Note: Policy tag manager generates unique taxonomy IDs.
string
setName
Output only. Resource name of this taxonomy in URL format.
Note: Policy tag manager generates unique taxonomy IDs.
var
string
$this
getDisplayName
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. The taxonomy display name must be unique within an organization.
string
setDisplayName
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. The taxonomy display name must be unique within an organization.
var
string
$this
getDescription
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.
string
setDescription
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.
var
string
$this
getPolicyTagCount
Output only. Number of policy tags in this taxonomy.
int
setPolicyTagCount
Output only. Number of policy tags in this taxonomy.
var
int
$this
getTaxonomyTimestamps
Output only. Creation and modification timestamps of this taxonomy.
hasTaxonomyTimestamps
clearTaxonomyTimestamps
setTaxonomyTimestamps
Output only. Creation and modification timestamps of this taxonomy.
$this
getActivatedPolicyTypes
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
setActivatedPolicyTypes
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.
var
int[]
$this
getService
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.
hasService
clearService
setService
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.
$this