Class: Google::Apis::MetastoreV1alpha::CatalogSummary

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

Summary of results for a specific destination catalog.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CatalogSummary

Returns a new instance of CatalogSummary.



620
621
622
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 620

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

Instance Attribute Details

#catalogString

Output only. The catalog resource name (format: projects//catalogs/). Corresponds to the JSON property catalog

Returns:

  • (String)


608
609
610
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 608

def catalog
  @catalog
end

#catalog_typeString

Output only. The type of the catalog. Corresponds to the JSON property catalogType

Returns:

  • (String)


613
614
615
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 613

def catalog_type
  @catalog_type
end

#database_summariesArray<Google::Apis::MetastoreV1alpha::DatabaseSummary>

Output only. Summary of results for each database in the catalog. Corresponds to the JSON property databaseSummaries



618
619
620
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 618

def database_summaries
  @database_summaries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



625
626
627
628
629
# File 'lib/google/apis/metastore_v1alpha/classes.rb', line 625

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