Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1Taxonomy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
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
Instance Attribute Summary collapse
-
#activated_policy_types ⇒ Array<String>
Optional.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Identifier.
-
#policy_tag_count ⇒ Fixnum
Output only.
-
#service ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TaxonomyService
The source system of the Taxonomy.
-
#taxonomy_timestamps ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps
Timestamps associated with this resource in a particular system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1Taxonomy
constructor
A new instance of GoogleCloudDatacatalogV1Taxonomy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1Taxonomy
Returns a new instance of GoogleCloudDatacatalogV1Taxonomy.
3207 3208 3209 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activated_policy_types ⇒ Array<String>
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
3169 3170 3171 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3169 def activated_policy_types @activated_policy_types end |
#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.
Corresponds to the JSON property description
3176 3177 3178 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3176 def description @description end |
#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.
Corresponds to the JSON property displayName
3184 3185 3186 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3184 def display_name @display_name end |
#name ⇒ String
Identifier. Resource name of this taxonomy in URL format. Note: Policy tag
manager generates unique taxonomy IDs.
Corresponds to the JSON property name
3190 3191 3192 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3190 def name @name end |
#policy_tag_count ⇒ Fixnum
Output only. Number of policy tags in this taxonomy.
Corresponds to the JSON property policyTagCount
3195 3196 3197 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3195 def policy_tag_count @policy_tag_count end |
#service ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TaxonomyService
The source system of the Taxonomy.
Corresponds to the JSON property service
3200 3201 3202 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3200 def service @service end |
#taxonomy_timestamps ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SystemTimestamps
Timestamps associated with this resource in a particular system.
Corresponds to the JSON property taxonomyTimestamps
3205 3206 3207 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3205 def @taxonomy_timestamps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3212 3213 3214 3215 3216 3217 3218 3219 3220 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 3212 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) @service = args[:service] if args.key?(:service) @taxonomy_timestamps = args[:taxonomy_timestamps] if args.key?(:taxonomy_timestamps) end |