class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
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
Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list. Corresponds to the JSON property `activatedPolicyTypes` @return [Array<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. Corresponds to the JSON property `description` @return [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. Corresponds to the JSON property `displayName` @return [String]
Output only. Resource name of this taxonomy in URL format. Note: Policy
tag manager generates unique taxonomy IDs. Corresponds to the JSON property `name` @return [String]
Output only. Number of policy tags in this taxonomy. Corresponds to the JSON property `policyTagCount` @return [Fixnum]
Timestamps associated with this resource in a particular system. Corresponds to the JSON property `taxonomyTimestamps` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps]
Public Class Methods
# File lib/google/apis/datacatalog_v1/classes.rb, line 1984 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datacatalog_v1/classes.rb, line 1989 def update!(**args) @activated_policy_types = args[:activated_policy_types] if args.key?(:activated_policy_types) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @policy_tag_count = args[:policy_tag_count] if args.key?(:policy_tag_count) @taxonomy_timestamps = args[:taxonomy_timestamps] if args.key?(:taxonomy_timestamps) end