Cloud KMS V1 Client - Class RestoreCryptoKeyVersionRequest (1.19.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

Namespace

Google \ Cloud \ Kms \ V1

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

static::build

Parameter
NameDescription
name string

Required. The resource name of the CryptoKeyVersion to restore. Please see Google\Cloud\Kms\V1\KeyManagementServiceClient::cryptoKeyVersionName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Kms\V1\RestoreCryptoKeyVersionRequest