- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Updates a pending or completed Backup
.
HTTP request
PATCH https://spanner.googleapis.com/v1/{backup.name=projects/*/instances/*/backups/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
backup. |
Output only for the A globally unique identifier for the backup which cannot be changed. Values are of the form The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form |
Query parameters
Parameters | |
---|---|
update |
Required. A mask specifying which fields (e.g. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Backup
.
Response body
If successful, the response body contains an instance of Backup
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/spanner.admin
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
spanner.backups.update
For more information, see the IAM documentation.