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.
getBackup
Required. A new version of the Backup resource that contains updated
fields. This may be sparsely populated if an update_mask is provided.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Backup V1 Client - Class UpdateBackupRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.UpdateBackupRequest)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.UpdateBackupRequest)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.UpdateBackupRequest)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.UpdateBackupRequest)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.UpdateBackupRequest)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.UpdateBackupRequest)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.UpdateBackupRequest)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.UpdateBackupRequest)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.UpdateBackupRequest)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.UpdateBackupRequest)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.UpdateBackupRequest) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class UpdateBackupRequest.\n\nRequest message for UpdateBackup.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.UpdateBackupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBackup\n\nRequired. A new version of the Backup resource that contains updated\nfields. This may be sparsely populated if an `update_mask` is provided.\n\n### hasBackup\n\n### clearBackup\n\n### setBackup\n\nRequired. A new version of the Backup resource that contains updated\nfields. This may be sparsely populated if an `update_mask` is provided.\n\n### getUpdateMask\n\nOptional. This is used to specify the fields to be overwritten in the\nBackup targeted for update. The values for each of these\nupdated fields will be taken from the `backup_plan` provided\nwith this request. Field names are relative to the root of the resource.\n\nIf no `update_mask` is provided, all fields in `backup` will be\nwritten to the target Backup resource.\nNote that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored\nand are not used to update the target Backup.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nOptional. This is used to specify the fields to be overwritten in the\nBackup targeted for update. The values for each of these\nupdated fields will be taken from the `backup_plan` provided\nwith this request. Field names are relative to the root of the resource.\n\nIf no `update_mask` is provided, all fields in `backup` will be\nwritten to the target Backup resource.\nNote that OUTPUT_ONLY and IMMUTABLE fields in `backup` are ignored\nand are not used to update the target Backup.\n\n### static::build"]]