create_backup_schedule
Create a Firestore backup schedule.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"parent": "<parent>",
"backupSchedule": "<backupSchedule>"
},
"name": "create_backup_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | Required. The parent database. Format `projects/{project}/databases/{database}` | |
| backupSchedule | Yes | Required. The backup schedule to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Output only. The unique backup schedule identifier across all locations and databases for the given project. This will be auto-assigned. Format is `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}` | |
| retention | No | At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. The maximum supported retention period is 14 weeks. | |
| createTime | No | Output only. The timestamp at which this backup schedule was created and effective since. No backups will be created for this schedule before this time. | |
| updateTime | No | Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time. | |
| dailyRecurrence | No | For a schedule that runs daily. Only one of this field or weeklyRecurrence should be set. | |
| weeklyRecurrence | No | For a schedule that runs weekly on a specific day. Only one of this field or dailyRecurrence should be set. |