Cloud KMS V1 Client - Class UpdateCryptoKeyRequest (2.0.0)

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

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Kms\V1\CryptoKey|null

hasCryptoKey

clearCryptoKey

setCryptoKey

Required. CryptoKey with updated values.

Parameter
Name Description
var Google\Cloud\Kms\V1\CryptoKey
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
cryptoKey Google\Cloud\Kms\V1\CryptoKey

Required. CryptoKey with updated values.

updateMask Google\Protobuf\FieldMask

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

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