Resume a job.
This method reenables a job after it has been Job.State.PAUSED
. The state of a job is stored in Job.state
; after calling this method it will be set to Job.State.ENABLED
. A job must be in Job.State.PAUSED
to be resumed.
HTTP request
POST https://cloudscheduler.googleapis.com/v1beta1/{name=projects/*/locations/*/jobs/*}:resume
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The job name. For example: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Job
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-scheduler
For more information, see the Authentication Overview.