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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedPolicyTag
constructor
A new instance of GoogleCloudDatacatalogV1beta1SerializedPolicyTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedPolicyTag
Returns a new instance of GoogleCloudDatacatalogV1beta1SerializedPolicyTag.
1196 1197 1198 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1196 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
1182 1183 1184 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1182 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
1189 1190 1191 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1189 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
1194 1195 1196 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1194 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1201 1202 1203 1204 1205 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1201 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) end |