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.



2331
2332
2333
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2331

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



2329
2330
2331
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2329

def serialized_taxonomy
  @serialized_taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2336
2337
2338
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2336

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