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.



421
422
423
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 421

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)


419
420
421
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 419

def taxonomy
  @taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



426
427
428
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 426

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