Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datacatalog_v1beta1/classes.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb,
generated/google/apis/datacatalog_v1beta1/representations.rb
Overview
Message representing one policy tag when exported as a nested proto.
Instance Attribute Summary collapse
-
#child_policy_tags ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>
Children of the policy tag if any.
-
#description ⇒ String
Description of the serialized policy tag.
-
#display_name ⇒ String
Required.
-
#policy_tag ⇒ String
Resource name of the policy tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedPolicyTag
constructor
A new instance of GoogleCloudDatacatalogV1beta1SerializedPolicyTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedPolicyTag
Returns a new instance of GoogleCloudDatacatalogV1beta1SerializedPolicyTag.
1171 1172 1173 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#child_policy_tags ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>
Children of the policy tag if any.
Corresponds to the JSON property childPolicyTags
1151 1152 1153 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1151 def @child_policy_tags end |
#description ⇒ String
Description of the serialized policy tag. 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
1158 1159 1160 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1158 def description @description end |
#display_name ⇒ String
Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8.
Corresponds to the JSON property displayName
1163 1164 1165 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1163 def display_name @display_name end |
#policy_tag ⇒ String
Resource name of the policy tag. This field will be ignored when calling
ImportTaxonomies.
Corresponds to the JSON property policyTag
1169 1170 1171 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1169 def policy_tag @policy_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1176 1177 1178 1179 1180 1181 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1176 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 |