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.



650
651
652
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 650

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)


648
649
650
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 648

def taxonomy
  @taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



655
656
657
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 655

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