Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Taxonomy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1beta1/classes.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb,
lib/google/apis/datacatalog_v1beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#activated_policy_types ⇒ Array<String>
Optional.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Output only.
-
#policy_tag_count ⇒ Fixnum
Output only.
-
#service ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TaxonomyService
The source system of the Taxonomy.
-
#taxonomy_timestamps ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps
Timestamps about this resource according to a particular system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1Taxonomy
constructor
A new instance of GoogleCloudDatacatalogV1beta1Taxonomy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1Taxonomy
Returns a new instance of GoogleCloudDatacatalogV1beta1Taxonomy.
3649 3650 3651 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3649 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
3610 3611 3612 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3610 def activated_policy_types @activated_policy_types end |
#description ⇒ String
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.
Corresponds to the JSON property description
3618 3619 3620 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3618 def description @description end |
#display_name ⇒ String
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.
Corresponds to the JSON property displayName
3626 3627 3628 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3626 def display_name @display_name end |
#name ⇒ String
Output only. Resource name of this taxonomy, whose format is: "projects/
project_number/locations/location_id/taxonomies/id".
Corresponds to the JSON property name
3632 3633 3634 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3632 def name @name end |
#policy_tag_count ⇒ Fixnum
Output only. Number of policy tags contained in this taxonomy.
Corresponds to the JSON property policyTagCount
3637 3638 3639 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3637 def policy_tag_count @policy_tag_count end |
#service ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TaxonomyService
The source system of the Taxonomy.
Corresponds to the JSON property service
3642 3643 3644 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3642 def service @service end |
#taxonomy_timestamps ⇒ Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps
Timestamps about this resource according to a particular system.
Corresponds to the JSON property taxonomyTimestamps
3647 3648 3649 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3647 def @taxonomy_timestamps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3654 3655 3656 3657 3658 3659 3660 3661 3662 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3654 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 |