# Dataproc Metastore v1beta API - Class HiveMetastoreConfig (2.0.0-beta12)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta12 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig)
- [2.0.0-beta11](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta11/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig)
- [1.0.0-beta02](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig)

    public sealed class HiveMetastoreConfig : IMessage<HiveMetastoreConfig>, IEquatable<HiveMetastoreConfig>, IDeepCloneable<HiveMetastoreConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataproc Metastore v1beta API class HiveMetastoreConfig.

Specifies configuration information specific to running Hive metastore
software as the metastore service.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> HiveMetastoreConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[HiveMetastoreConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[HiveMetastoreConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[HiveMetastoreConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Metastore.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)

## Assembly

Google.Cloud.Metastore.V1Beta.dll

## Constructors

### HiveMetastoreConfig()

    public HiveMetastoreConfig()

### HiveMetastoreConfig(HiveMetastoreConfig)

    public HiveMetastoreConfig(HiveMetastoreConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig` |

## Properties

### AuxiliaryVersions

    public MapField<string, AuxiliaryVersionConfig> AuxiliaryVersions { get; }

A mapping of Hive metastore version to the auxiliary version
configuration. When specified, a secondary Hive metastore service is
created along with the primary service. All auxiliary versions must be less
than the service's primary version. The key is the auxiliary service name
and it must match the regular expression [a-z](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/[-a-z0-9]*[a-z0-9])?. This
means that the first character must be a lowercase letter, and all the
following characters must be hyphens, lowercase letters, or digits, except
the last character, which cannot be a hyphen.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.AuxiliaryVersionConfig` |   |

### ConfigOverrides

    public MapField<string, string> ConfigOverrides { get; }

A mapping of Hive metastore configuration key-value pairs to apply to the
Hive metastore (configured in `hive-site.xml`). The mappings
override system defaults (some keys cannot be overridden). These
overrides are also applied to auxiliary versions and can be further
customized in the auxiliary version's `AuxiliaryVersionConfig`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### EndpointProtocol

    public HiveMetastoreConfig.Types.EndpointProtocol EndpointProtocol { get; set; }

The protocol to use for the metastore service endpoint. If unspecified,
defaults to `THRIFT`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.HiveMetastoreConfig.Types.EndpointProtocol` |   |

### KerberosConfig

    public KerberosConfig KerberosConfig { get; set; }

Information used to configure the Hive metastore service as a service
principal in a Kerberos realm. To disable Kerberos, use the `UpdateService`
method and specify this field's path
(`hive_metastore_config.kerberos_config`) in the request's `update_mask`
while omitting this field from the request's `service`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.KerberosConfig` |   |

### Version

    public string Version { get; set; }

Immutable. The Hive metastore schema version.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |