Cloud Bigtable V2 Client - Class UpdateBackupRequest (2.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class UpdateBackupRequest.

The request for UpdateBackup.

Generated from protobuf message google.bigtable.admin.v2.UpdateBackupRequest

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup Google\Cloud\Bigtable\Admin\V2\Backup

Required. The backup to update. backup.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored. Update is only supported for the following fields: * backup.expire_time.

↳ update_mask Google\Protobuf\FieldMask

Required. A mask specifying which fields (e.g. expire_time) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.

getBackup

Required. The backup to update. backup.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored.

Update is only supported for the following fields:

  • backup.expire_time.
Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\Backup|null

hasBackup

clearBackup

setBackup

Required. The backup to update. backup.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored.

Update is only supported for the following fields:

  • backup.expire_time.
Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\Backup
Returns
Type Description
$this

getUpdateMask

Required. A mask specifying which fields (e.g. expire_time) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. A mask specifying which fields (e.g. expire_time) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.

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

static::build

Parameters
Name Description
backup Google\Cloud\Bigtable\Admin\V2\Backup

Required. The backup to update. backup.name, and the fields to be updated as specified by update_mask are required. Other fields are ignored. Update is only supported for the following fields:

  • backup.expire_time.
updateMask Google\Protobuf\FieldMask

Required. A mask specifying which fields (e.g. expire_time) in the Backup resource should be updated. This mask is relative to the Backup resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally by clients that do not know about them.

Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\UpdateBackupRequest