Class: Google::Apis::MetastoreV1alpha::DataCatalogConfig
- Inherits:
-
Object
- Object
- Google::Apis::MetastoreV1alpha::DataCatalogConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/metastore_v1alpha/classes.rb,
lib/google/apis/metastore_v1alpha/representations.rb,
lib/google/apis/metastore_v1alpha/representations.rb
Overview
Specifies how metastore metadata should be integrated with the Data Catalog service.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Defines whether the metastore metadata should be synced to Data Catalog.
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.
335 336 337 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
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
332 333 334 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 332 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
340 341 342 |
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 340 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |