Google Cloud Net App V1 Client - Class UpdateBackupRequest (1.2.1)

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

UpdateBackupRequest updates description and/or labels for a backup.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 Backup resource to be updated. 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.

↳ backup Backup

Required. The backup being updated

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated.

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
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated.

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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getBackup

Required. The backup being updated

Returns
Type Description
Backup|null

hasBackup

clearBackup

setBackup

Required. The backup being updated

Parameter
Name Description
var Backup
Returns
Type Description
$this

static::build

Parameters
Name Description
backup Backup

Required. The backup being updated

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Backup resource to be updated. 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
Type Description
UpdateBackupRequest