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.



700
701
702
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 700

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)


698
699
700
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 698

def taxonomy
  @taxonomy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



705
706
707
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 705

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