# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::HiveMetastoreConfig (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::HiveMetastoreConfig.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #auxiliary_versions

    def auxiliary_versions() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}) --- 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/ruby/docs/reference/google-cloud-metastore-v1/latest/%5B-a-z0-9%5D*%5Ba-z0-9%5D)?. 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.

### #auxiliary_versions=

    def auxiliary_versions=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}) --- 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/ruby/docs/reference/google-cloud-metastore-v1/latest/%5B-a-z0-9%5D*%5Ba-z0-9%5D)?. 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.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::Google::Cloud::Metastore::V1::AuxiliaryVersionConfig}) --- 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/ruby/docs/reference/google-cloud-metastore-v1/latest/%5B-a-z0-9%5D*%5Ba-z0-9%5D)?. 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.

### #config_overrides

    def config_overrides() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- 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`.

### #config_overrides=

    def config_overrides=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- 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`.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- 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`.

### #endpoint_protocol

    def endpoint_protocol() -> ::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol

**Returns**

- ([::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-HiveMetastoreConfig-EndpointProtocol)) --- The protocol to use for the metastore service endpoint. If unspecified, defaults to `THRIFT`.

### #endpoint_protocol=

    def endpoint_protocol=(value) -> ::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol

**Parameter**

- **value** ([::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-HiveMetastoreConfig-EndpointProtocol)) --- The protocol to use for the metastore service endpoint. If unspecified, defaults to `THRIFT`.
**Returns**

- ([::Google::Cloud::Metastore::V1::HiveMetastoreConfig::EndpointProtocol](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-HiveMetastoreConfig-EndpointProtocol)) --- The protocol to use for the metastore service endpoint. If unspecified, defaults to `THRIFT`.

### #kerberos_config

    def kerberos_config() -> ::Google::Cloud::Metastore::V1::KerberosConfig

**Returns**

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

### #kerberos_config=

    def kerberos_config=(value) -> ::Google::Cloud::Metastore::V1::KerberosConfig

**Parameter**

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

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

### #version

    def version() -> ::String

**Returns**

- (::String) --- Immutable. The Hive metastore schema version.

### #version=

    def version=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The Hive metastore schema version.
**Returns**

- (::String) --- Immutable. The Hive metastore schema version.