Class UpdateBackupRequest (3.20.0)

UpdateBackupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request for UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].

Attributes

NameDescription
backup google.cloud.spanner_admin_database_v1.types.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.field_mask_pb2.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.