Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1CrossRegionalSource

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

Cross-regional source used to import an existing taxonomy into a different region.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatacatalogV1CrossRegionalSource

Returns a new instance of GoogleCloudDatacatalogV1CrossRegionalSource.



357
358
359
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 357

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

Instance Attribute Details

#taxonomyString

Required. The resource name of the source taxonomy to import. Corresponds to the JSON property taxonomy

Returns:

  • (String)


355
356
357
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 355

def taxonomy
  @taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



362
363
364
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 362

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