# Class UpdateBackupRequest (0.8.1)

0.8.1 (latest) 0.8.0 0.7.0 0.6.0 0.5.19 0.4.4 0.3.0 0.2.2 0.1.1

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

Request message for UpdateBackup.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `backup` | `https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.Backup` Required. A new version of the Backup resource that contains updated fields. This may be sparsely populated if an `update_mask` is provided. |
| `update_mask` | `google.protobuf.field_mask_pb2.FieldMask` Optional. This is used to specify the fields to be overwritten in the Backup targeted for update. The values for each of these updated fields will be taken from the `backup_plan` provided with this request. Field names are relative to the root of the resource. If no `update_mask` is provided, all fields in `backup` will be written to the target Backup resource. Note that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored and are not used to update the target Backup. |