Cloud KMS V1 Client - Class LocationMetadata (1.16.4)

Reference documentation and code samples for the Cloud KMS V1 Client class LocationMetadata.

Cloud KMS metadata for the given google.cloud.location.Location.

Generated from protobuf message google.cloud.kms.v1.LocationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ hsm_available bool

Indicates whether CryptoKeys with protection_level HSM can be created in this location.

↳ ekm_available bool

Indicates whether CryptoKeys with protection_level EXTERNAL can be created in this location.

getHsmAvailable

Indicates whether CryptoKeys with protection_level HSM can be created in this location.

Returns
TypeDescription
bool

setHsmAvailable

Indicates whether CryptoKeys with protection_level HSM can be created in this location.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getEkmAvailable

Indicates whether CryptoKeys with protection_level EXTERNAL can be created in this location.

Returns
TypeDescription
bool

setEkmAvailable

Indicates whether CryptoKeys with protection_level EXTERNAL can be created in this location.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this