Class: Google::Apis::MetastoreV1::DataCatalogConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataCatalogConfig

Returns a new instance of DataCatalogConfig.



691
692
693
# File 'lib/google/apis/metastore_v1/classes.rb', line 691

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enabledBoolean 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

Returns:

  • (Boolean)


688
689
690
# File 'lib/google/apis/metastore_v1/classes.rb', line 688

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



696
697
698
# File 'lib/google/apis/metastore_v1/classes.rb', line 696

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