- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates a new backup schedule.
HTTP request
POST https://spanner.googleapis.com/v1/{parent=projects/*/instances/*/databases/*}/backupSchedules
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the database that this backup schedule applies to. Authorization requires one or more of the following IAM permissions on the specified resource
|
Query parameters
Parameters | |
---|---|
backup |
Required. The Id to use for the backup schedule. The |
Request body
The request body contains an instance of BackupSchedule
.
Response body
If successful, the response body contains a newly created 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.