Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedTaxonomy
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedTaxonomy
- 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 nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.
Instance Attribute Summary collapse
-
#activated_policy_types ⇒ Array<String>
A list of policy types that are activated per taxonomy.
-
#description ⇒ String
Description of the serialized taxonomy.
-
#display_name ⇒ String
Required.
-
#policy_tags ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedPolicyTag>
Top level policy tags associated with the taxonomy, if any.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SerializedTaxonomy
constructor
A new instance of GoogleCloudDatacatalogV1SerializedTaxonomy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1SerializedTaxonomy
Returns a new instance of GoogleCloudDatacatalogV1SerializedTaxonomy.
1486 1487 1488 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1486 def initialize(**args) update!(**args) end |
Instance Attribute Details
#activated_policy_types ⇒ Array<String>
A list of policy types that are activated per taxonomy.
Corresponds to the JSON property activatedPolicyTypes
1467 1468 1469 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1467 def activated_policy_types @activated_policy_types end |
#description ⇒ String
Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-
- If not set, defaults to an empty description.
Corresponds to the JSON property
description
1473 1474 1475 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1473 def description @description end |
#display_name ⇒ String
Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-
8.
Corresponds to the JSON property displayName
1479 1480 1481 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1479 def display_name @display_name end |
#policy_tags ⇒ Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedPolicyTag>
Top level policy tags associated with the taxonomy, if any.
Corresponds to the JSON property policyTags
1484 1485 1486 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1484 def @policy_tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1491 1492 1493 1494 1495 1496 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1491 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 |