Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedTaxonomy
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedTaxonomy
- 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
Message capturing a taxonomy and its policy tag hierarchy as a nested proto. Used for taxonomy import/export and mutation.
Instance Attribute Summary collapse
-
#activated_policy_types ⇒ Array<String>
A list of policy types that are activated for a taxonomy.
-
#description ⇒ String
Description of the serialized taxonomy.
-
#display_name ⇒ String
Required.
-
#policy_tags ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>
Top level policy tags associated with the taxonomy if any.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedTaxonomy
constructor
A new instance of GoogleCloudDatacatalogV1beta1SerializedTaxonomy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedTaxonomy
Returns a new instance of GoogleCloudDatacatalogV1beta1SerializedTaxonomy.
3369 3370 3371 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3369 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activated_policy_types ⇒ Array<String>
A list of policy types that are activated for a taxonomy.
Corresponds to the JSON property activatedPolicyTypes
3350 3351 3352 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3350 def activated_policy_types @activated_policy_types end |
#description ⇒ String
Description of the serialized taxonomy. The length of the description is
limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty
description.
Corresponds to the JSON property description
3357 3358 3359 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3357 def description @description end |
#display_name ⇒ String
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
Corresponds to the JSON property displayName
3362 3363 3364 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3362 def display_name @display_name end |
#policy_tags ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>
Top level policy tags associated with the taxonomy if any.
Corresponds to the JSON property policyTags
3367 3368 3369 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3367 def @policy_tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3374 3375 3376 3377 3378 3379 |
# File 'lib/google/apis/datacatalog_v1beta1/classes.rb', line 3374 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) @policy_tags = args[:policy_tags] if args.key?(:policy_tags) end |