Cloud KMS V1 Client - Class RestoreCryptoKeyVersionRequest (1.17.0)

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

Request message for KeyManagementService.RestoreCryptoKeyVersion.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the CryptoKeyVersion to restore.

getName

Required. The resource name of the CryptoKeyVersion to restore.

Returns
TypeDescription
string

setName

Required. The resource name of the CryptoKeyVersion to restore.

Parameter
NameDescription
var string
Returns
TypeDescription
$this