Class: Google::Apis::MetastoreV1beta::LocationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/metastore_v1beta/classes.rb,
generated/google/apis/metastore_v1beta/representations.rb,
generated/google/apis/metastore_v1beta/representations.rb

Overview

Metadata about the service in a location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata.



572
573
574
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 572

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

Instance Attribute Details

#supported_hive_metastore_versionsArray<Google::Apis::MetastoreV1beta::HiveMetastoreVersion>

The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default. Corresponds to the JSON property supportedHiveMetastoreVersions



570
571
572
# File 'generated/google/apis/metastore_v1beta/classes.rb', line 570

def supported_hive_metastore_versions
  @supported_hive_metastore_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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