class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedPolicyTag

A nested protocol buffer that represents a policy tag and all its descendants.

Attributes

child_policy_tags[RW]

Children of the policy tag, if any. Corresponds to the JSON property `childPolicyTags` @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1SerializedPolicyTag>]

description[RW]

Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description. Corresponds to the JSON property `description` @return [String]

display_name[RW]

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

policy_tag[RW]

Resource name of the policy tag. This field is ignored when calling ` ImportTaxonomies`. Corresponds to the JSON property `policyTag` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datacatalog_v1/classes.rb, line 1556
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 1561
def update!(**args)
  @child_policy_tags = args[:child_policy_tags] if args.key?(:child_policy_tags)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @policy_tag = args[:policy_tag] if args.key?(:policy_tag)
end