Cloud KMS V1 Client - Class UpdateCryptoKeyVersionRequest (2.1.0)

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

Request message for KeyManagementService.UpdateCryptoKeyVersion.

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

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ crypto_key_version Google\Cloud\Kms\V1\CryptoKeyVersion

Required. CryptoKeyVersion with updated values.

↳ update_mask Google\Protobuf\FieldMask

Required. List of fields to be updated in this request.

getCryptoKeyVersion

Required. CryptoKeyVersion with updated values.

Returns
Type Description
Google\Cloud\Kms\V1\CryptoKeyVersion|null

hasCryptoKeyVersion

clearCryptoKeyVersion

setCryptoKeyVersion

Required. CryptoKeyVersion with updated values.

Parameter
Name Description
var Google\Cloud\Kms\V1\CryptoKeyVersion
Returns
Type Description
$this

getUpdateMask

Required. List of fields to be updated in this request.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. List of fields to be updated in this request.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
cryptoKeyVersion Google\Cloud\Kms\V1\CryptoKeyVersion

Required. CryptoKeyVersion with updated values.

updateMask Google\Protobuf\FieldMask

Required. List of fields to be updated in this request.

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