# Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::LocationMetadata (v1.13.0)

1.13.0 (latest) 1.12.1 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.2 1.2.1 1.1.0 1.0.2 0.27.0 0.26.0 0.25.1 0.24.3 0.23.0 0.22.1 0.21.0 0.20.0 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::LocationMetadata.

Cloud KMS metadata for the given
\[google.cloud.location.Location\]\[google.cloud.location.Location\].

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ekm_available

    def ekm_available() -> ::Boolean

**Returns**

- (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [EXTERNAL](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL "Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL (constant)") can be created in this location.

### #ekm_available=

    def ekm_available=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [EXTERNAL](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL "Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL (constant)") can be created in this location.
**Returns**

- (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [EXTERNAL](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__EXTERNAL "Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL (constant)") can be created in this location.

### #hsm_available

    def hsm_available() -> ::Boolean

**Returns**

- (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [HSM](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__HSM "Google::Cloud::Kms::V1::ProtectionLevel::HSM (constant)") can be created in this location.

### #hsm_available=

    def hsm_available=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [HSM](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__HSM "Google::Cloud::Kms::V1::ProtectionLevel::HSM (constant)") can be created in this location.
**Returns**

- (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [HSM](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__HSM "Google::Cloud::Kms::V1::ProtectionLevel::HSM (constant)") can be created in this location.

### #hsm_single_tenant_available

    def hsm_single_tenant_available() -> ::Boolean

**Returns**

- (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [HSM_SINGLE_TENANT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__HSM_SINGLE_TENANT "Google::Cloud::Kms::V1::ProtectionLevel::HSM_SINGLE_TENANT (constant)") can be created in this location.

### #hsm_single_tenant_available=

    def hsm_single_tenant_available=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [HSM_SINGLE_TENANT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__HSM_SINGLE_TENANT "Google::Cloud::Kms::V1::ProtectionLevel::HSM_SINGLE_TENANT (constant)") can be created in this location.
**Returns**

- (::Boolean) --- Indicates whether [CryptoKeys](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKey "Google::Cloud::Kms::V1::CryptoKey (class)") with [protection_level](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-CryptoKeyVersionTemplate#Google__Cloud__Kms__V1__CryptoKeyVersionTemplate_protection_level_instance_ "Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level (method)") [HSM_SINGLE_TENANT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-kms-v1/latest/Google-Cloud-Kms-V1-ProtectionLevel#Google__Cloud__Kms__V1__ProtectionLevel__HSM_SINGLE_TENANT "Google::Cloud::Kms::V1::ProtectionLevel::HSM_SINGLE_TENANT (constant)") can be created in this location.