Resumes a paused Schedule to start scheduling new runs. Will mark Schedule.state
to 'ACTIVE'. Only paused Schedule can be resumed.
When the Schedule is resumed, new runs will be scheduled starting from the next execution time after the current time based on the time_specification in the Schedule. If Schedule.catch_up
is set up true, all missed runs will be scheduled for backfill first.
Endpoint
posthttps://{endpoint}/v1/{name}:resume
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
name
string
Required. The name of the Schedule resource to be resumed. Format: projects/{project}/locations/{location}/schedules/{schedule}
Request body
The request body contains data with the following structure:
catchUp
boolean
Optional. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. This will also update Schedule.catch_up
field. Default to false.
Response body
If successful, the response body is an empty JSON object.