Cloud KMS V1 Client - Class RestoreCryptoKeyVersionRequest (1.22.1)

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
Name Description
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
Type Description
string

setName

Required. The resource name of the CryptoKeyVersion to restore.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\Kms\V1\RestoreCryptoKeyVersionRequest