Cloud KMS V1 Client - Class EkmConfig (1.16.4)

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

An EkmConfig is a singleton resource that represents configuration parameters that apply to all CryptoKeys and CryptoKeyVersions with a ProtectionLevel of EXTERNAL_VPC in a given project and location.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name for the EkmConfig in the format projects/*/locations/*/ekmConfig.

↳ default_ekm_connection string

Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.

getName

Output only. The resource name for the EkmConfig in the format projects/*/locations/*/ekmConfig.

Returns
TypeDescription
string

setName

Output only. The resource name for the EkmConfig in the format projects/*/locations/*/ekmConfig.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDefaultEkmConnection

Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.

Returns
TypeDescription
string

setDefaultEkmConnection

Optional. Resource name of the default EkmConnection. Setting this field to the empty string removes the default.

Parameter
NameDescription
var string
Returns
TypeDescription
$this