Class: Google::Apis::MetastoreV1beta::CatalogSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/metastore_v1beta/classes.rb,
lib/google/apis/metastore_v1beta/representations.rb,
lib/google/apis/metastore_v1beta/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.



589
590
591
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 589

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)


577
578
579
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 577

def catalog
  @catalog
end

#catalog_typeString

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

Returns:

  • (String)


582
583
584
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 582

def catalog_type
  @catalog_type
end

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

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



587
588
589
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 587

def database_summaries
  @database_summaries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



594
595
596
597
598
# File 'lib/google/apis/metastore_v1beta/classes.rb', line 594

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