Cloud KMS V1 Client - Class DestroyCryptoKeyVersionRequest (1.23.0)

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

Request message for KeyManagementService.DestroyCryptoKeyVersion.

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

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 destroy.

getName

Required. The resource name of the CryptoKeyVersion to destroy.

Returns
Type Description
string

setName

Required. The resource name of the CryptoKeyVersion to destroy.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\Kms\V1\DestroyCryptoKeyVersionRequest