class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedTaxonomy

A nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.

Attributes

activated_policy_types[RW]

A list of policy types that are activated per taxonomy. Corresponds to the JSON property `activatedPolicyTypes` @return [Array<String>]

description[RW]

Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-

  1. If not set, defaults to an empty description.

Corresponds to the JSON property `description` @return [String]

display_name[RW]

Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF- 8. Corresponds to the JSON property `displayName` @return [String]

policy_tags[RW]

Top level policy tags associated with the taxonomy, if any. Corresponds to the JSON property `policyTags` @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedPolicyTag>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datacatalog_v1/classes.rb, line 1596
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datacatalog_v1/classes.rb, line 1601
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