Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1ReplaceTaxonomyRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb

Overview

Request message for ReplaceTaxonomy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1ReplaceTaxonomyRequest

Returns a new instance of GoogleCloudDatacatalogV1ReplaceTaxonomyRequest.



1088
1089
1090
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1088

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#serialized_taxonomyGoogle::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. Corresponds to the JSON property serializedTaxonomy



1086
1087
1088
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1086

def serialized_taxonomy
  @serialized_taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1093
1094
1095
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1093

def update!(**args)
  @serialized_taxonomy = args[:serialized_taxonomy] if args.key?(:serialized_taxonomy)
end