Cloud KMS V1 Client - Class LocationMetadata (2.1.1)

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

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
bool

setHsmAvailable

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getEkmAvailable

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

Returns
Type Description
bool

setEkmAvailable

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

Parameter
Name Description
var bool
Returns
Type Description
$this