Cloud KMS V1 Client - Class UpdateCryptoKeyRequest (1.15.3)

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

Request message for KeyManagementService.UpdateCryptoKey.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ crypto_key Google\Cloud\Kms\V1\CryptoKey

Required. CryptoKey with updated values.

↳ update_mask Google\Protobuf\FieldMask

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

getCryptoKey

Required. CryptoKey with updated values.

Returns
TypeDescription
Google\Cloud\Kms\V1\CryptoKey|null

hasCryptoKey

clearCryptoKey

setCryptoKey

Required. CryptoKey with updated values.

Parameter
NameDescription
var Google\Cloud\Kms\V1\CryptoKey
Returns
TypeDescription
$this

getUpdateMask

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this