REST Resource: projects.locations

Resource: LocationMetadata

Cloud KMS metadata for the givengoogle.cloud.location.Location.

JSON representation
{"hsmAvailable":boolean,"ekmAvailable":boolean,"hsmSingleTenantAvailable":boolean}
Fields
hsmAvailable

boolean

Indicates whetherCryptoKeys withprotectionLevelHSM can be created in this location.

ekmAvailable

boolean

Indicates whetherCryptoKeys withprotectionLevelEXTERNAL can be created in this location.

hsmSingleTenantAvailable

boolean

Indicates whetherCryptoKeys withprotectionLevelHSM_SINGLE_TENANT can be created in this location.

Methods

generateRandomBytes

Generate random bytes using the Cloud KMS randomness source in the provided location.

get

Gets information about a location.

getEkmConfig

Returns theEkmConfig singleton resource for a given project and location.

list

Lists information about the supported locations for this service.

updateEkmConfig

Updates theEkmConfig singleton resource for a given project and location.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-24 UTC.