Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and
the request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Required. Field mask is used to specify the fields to be overwritten in the
BackupVault resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then the request will fail.
Required. Field mask is used to specify the fields to be overwritten in the
BackupVault resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then the request will fail.
Required. Field mask is used to specify the fields to be overwritten in the
BackupVault resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then the request will fail.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface UpdateBackupVaultRequestOrBuilder (0.31.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.31.0 (latest)](/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.UpdateBackupVaultRequestOrBuilder) \n\n public interface UpdateBackupVaultRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getBackupVault()\n\n public abstract BackupVault getBackupVault()\n\nRequired. The resource being updated\n\n`\n.google.cloud.backupdr.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getBackupVaultOrBuilder()\n\n public abstract BackupVaultOrBuilder getBackupVaultOrBuilder()\n\nRequired. The resource being updated\n\n`\n.google.cloud.backupdr.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getForce()\n\n public abstract boolean getForce()\n\nOptional. If set to true, will not check plan duration against backup vault\nenforcement duration.\n\n`bool force = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getForceUpdateAccessRestriction()\n\n public abstract boolean getForceUpdateAccessRestriction()\n\nOptional. If set to true, we will force update access restriction even if\nsome non compliant data sources are present. The default is 'false'.\n\n`bool force_update_access_restriction = 6 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getRequestId()\n\n public abstract String getRequestId()\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n`\nstring request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }\n`\n\n### getRequestIdBytes()\n\n public abstract ByteString getRequestIdBytes()\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n`\nstring request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }\n`\n\n### getUpdateMask()\n\n public abstract FieldMask getUpdateMask()\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nBackupVault resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then the request will fail.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getUpdateMaskOrBuilder()\n\n public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nBackupVault resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then the request will fail.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getValidateOnly()\n\n public abstract boolean getValidateOnly()\n\nOptional. Only validate the request, but do not perform mutations.\nThe default is 'false'.\n\n`bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### hasBackupVault()\n\n public abstract boolean hasBackupVault()\n\nRequired. The resource being updated\n\n`\n.google.cloud.backupdr.v1.BackupVault backup_vault = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasUpdateMask()\n\n public abstract boolean hasUpdateMask()\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nBackupVault resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then the request will fail.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];\n`"]]