Class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedTaxonomy
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedTaxonomy
- 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 capturing a taxonomy and its policy tag hierarchy as a nested proto. Used for taxonomy import/export and mutation.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the serialized taxonomy.
-
#display_name ⇒ String
Required.
-
#policy_tags ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>
Top level policy tags associated with the taxonomy if any.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedTaxonomy
constructor
A new instance of GoogleCloudDatacatalogV1beta1SerializedTaxonomy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1beta1SerializedTaxonomy
Returns a new instance of GoogleCloudDatacatalogV1beta1SerializedTaxonomy.
1230 1231 1232 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of the serialized taxonomy. 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
1218 1219 1220 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1218 def description @description end |
#display_name ⇒ String
Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8.
Corresponds to the JSON property displayName
1223 1224 1225 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1223 def display_name @display_name end |
#policy_tags ⇒ Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>
Top level policy tags associated with the taxonomy if any.
Corresponds to the JSON property policyTags
1228 1229 1230 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1228 def @policy_tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1235 1236 1237 1238 1239 |
# File 'generated/google/apis/datacatalog_v1beta1/classes.rb', line 1235 def update!(**args) @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 |