- [Resource: LocationMetadata](https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations#LocationMetadata)
  - [JSON representation](https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations#LocationMetadata.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations#METHODS_SUMMARY)

## Resource: LocationMetadata

Cloud KMS metadata for the given `https://docs.cloud.google.com/kms/docs/reference/rest/v1/Location`.

| JSON representation |
|---|
| ``` { "hsmAvailable": boolean, "ekmAvailable": boolean, "hsmSingleTenantAvailable": boolean } ``` |

| Fields ||
|---|---|
| `hsmAvailable` | `boolean` Indicates whether `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKey` with `https://docs.cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel` `https://docs.cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel#ENUM_VALUES.HSM` can be created in this location. |
| `ekmAvailable` | `boolean` Indicates whether `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKey` with `https://docs.cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel` `https://docs.cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel#ENUM_VALUES.EXTERNAL` can be created in this location. |
| `hsmSingleTenantAvailable` | `boolean` Indicates whether `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKey` with `https://docs.cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel` `https://docs.cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel#ENUM_VALUES.HSM_SINGLE_TENANT` can be created in this location. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations/generateRandomBytes` | Generate random bytes using the Cloud KMS randomness source in the provided location. |
| ### `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations/get` | Gets information about a location. |
| ### `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations/getEkmConfig` | Returns the `https://docs.cloud.google.com/kms/docs/reference/rest/v1/EkmConfig` singleton resource for a given project and location. |
| ### `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations/list` | Lists information about the supported locations for this service. |
| ### `https://docs.cloud.google.com/kms/docs/reference/rest/v1/projects.locations/updateEkmConfig` | Updates the `https://docs.cloud.google.com/kms/docs/reference/rest/v1/EkmConfig` singleton resource for a given project and location. |