Class: Google::Apis::MetastoreV1::DataCatalogConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1::DataCatalogConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1/classes.rb,
lib/google/apis/metastore_v1/representations.rb,
lib/google/apis/metastore_v1/representations.rb
Overview
Specifies how metastore metadata should be integrated with the Data Catalog service.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataCatalogConfig
constructor
A new instance of DataCatalogConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataCatalogConfig
Returns a new instance of DataCatalogConfig.
435 436 437 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Optional. Defines whether the metastore metadata should be synced to Data
Catalog. The default value is to disable syncing metastore metadata to Data
Catalog.
Corresponds to the JSON property enabled
432 433 434 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 432 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 |
# File 'lib/google/apis/metastore_v1/classes.rb', line 440 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |