# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::LocationMetadata (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::LocationMetadata.

Metadata about the service in a location.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #supported_hive_metastore_versions

    def supported_hive_metastore_versions() -> ::Array<::Google::Cloud::Metastore::V1::LocationMetadata::HiveMetastoreVersion>

**Returns**

- (::Array\<[::Google::Cloud::Metastore::V1::LocationMetadata::HiveMetastoreVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-LocationMetadata-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`.

### #supported_hive_metastore_versions=

    def supported_hive_metastore_versions=(value) -> ::Array<::Google::Cloud::Metastore::V1::LocationMetadata::HiveMetastoreVersion>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Metastore::V1::LocationMetadata::HiveMetastoreVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-LocationMetadata-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`.
**Returns**

- (::Array\<[::Google::Cloud::Metastore::V1::LocationMetadata::HiveMetastoreVersion](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-LocationMetadata-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`.