Google Cloud Net App V1 Client - Class UpdateKmsConfigRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class UpdateKmsConfigRequest.

UpdateKmsConfigRequest updates a KMS Config.

Generated from protobuf message google.cloud.netapp.v1.UpdateKmsConfigRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

↳ kms_config Google\Cloud\NetApp\V1\KmsConfig

Required. The KmsConfig being updated

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

getKmsConfig

Required. The KmsConfig being updated

Returns
TypeDescription
Google\Cloud\NetApp\V1\KmsConfig|null

hasKmsConfig

clearKmsConfig

setKmsConfig

Required. The KmsConfig being updated

Parameter
NameDescription
var Google\Cloud\NetApp\V1\KmsConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
kmsConfig Google\Cloud\NetApp\V1\KmsConfig

Required. The KmsConfig being updated

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the KmsConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
TypeDescription
Google\Cloud\NetApp\V1\UpdateKmsConfigRequest