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.



2271
2272
2273
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2271

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



2269
2270
2271
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2269

def serialized_taxonomy
  @serialized_taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2276
2277
2278
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2276

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