Google Cloud Filestore V1 Client - Class UpdateBackupRequest (2.0.0-RC1)

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

UpdateBackupRequest updates description and/or labels for a backup.

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

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup Google\Cloud\Filestore\V1\Backup

Required. A backup resource

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field.

getBackup

Required. A backup resource

Returns
Type Description
Google\Cloud\Filestore\V1\Backup|null

hasBackup

clearBackup

setBackup

Required. A backup resource

Parameter
Name Description
var Google\Cloud\Filestore\V1\Backup
Returns
Type Description
$this

getUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update. At least one path must be supplied in this field.

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

static::build

Parameters
Name Description
backup Google\Cloud\Filestore\V1\Backup

Required. A backup resource

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update. At least one path must be supplied in this field.

Returns
Type Description
Google\Cloud\Filestore\V1\UpdateBackupRequest