Cloud Spanner V1 Client - Class UpdateBackupScheduleRequest (1.88.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class UpdateBackupScheduleRequest.

The request for UpdateBackupScheduleRequest.

Generated from protobuf message google.spanner.admin.database.v1.UpdateBackupScheduleRequest

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backup_schedule Google\Cloud\Spanner\Admin\Database\V1\BackupSchedule

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

↳ update_mask Google\Protobuf\FieldMask

Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.

getBackupSchedule

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

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\BackupSchedule|null

hasBackupSchedule

clearBackupSchedule

setBackupSchedule

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

Parameter
Name Description
var Google\Cloud\Spanner\Admin\Database\V1\BackupSchedule
Returns
Type Description
$this

getUpdateMask

Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.

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

static::build

Parameters
Name Description
backupSchedule Google\Cloud\Spanner\Admin\Database\V1\BackupSchedule

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

updateMask Google\Protobuf\FieldMask

Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally.

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\UpdateBackupScheduleRequest