- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a backup schedule.
HTTP request
PATCH https://spanner.googleapis.com/v1/{backupSchedule.name=projects/*/instances/*/databases/*/backupSchedules/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
backup |
Identifier. Output only for the [backupSchedules.create][DatabaseAdmin.CreateBackupSchededule] operation. Required for the |
Query parameters
Parameters | |
---|---|
update |
Required. A mask specifying which fields in the BackupSchedule resource should be updated. This mask is relative to the BackupSchedule resource, not to the request message. The field mask must always be specified; this prevents any future fields from being erased accidentally. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of BackupSchedule
.
Response body
If successful, the response body contains an instance of BackupSchedule
.
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.