Cloud Bigtable V2 Client - Class UpdateBackupRequest (1.26.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Bigtable\Admin\V2\Backup
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Bigtable\Admin\V2\UpdateBackupRequest