1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class LocationMetadata.

Metadata about the service in a location.

Generated from protobuf message `google.cloud.metastore.v1alpha.LocationMetadata`

## Namespace

Google \\ Cloud \\ Metastore \\ V1alpha

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ supported_hive_metastore_versions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1alpha.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`. |

### getSupportedHiveMetastoreVersions

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** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1alpha.LocationMetadata.HiveMetastoreVersion>` |   |

### setSupportedHiveMetastoreVersions

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`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1alpha.LocationMetadata.HiveMetastoreVersion>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |