gcloud dataflow jobs add pause and resume commands
Introduced 2026-08-11 · score 0.97
HOW TO USE IT
When a Dataflow job is eligible to pause, use `gcloud dataflow jobs pause` with its job ID and region; to resume a paused job, use `gcloud dataflow jobs resume` with the same arguments.
gcloud dataflow jobs pause <JOB_ID> --region=<REGION_ID>gcloud dataflow jobs resume <JOB_ID> --region=<REGION_ID>WHY THIS HELPS
Pause or resume a Dataflow job during development or maintenance.
REQUIREMENTS AND LIMITATIONS
- JOB_ID (required): Job ID to operate on; one or more job IDs are accepted.
- --region=REGION_ID: Regional endpoint for the job; defaults to `us-central1`.
- Prerequisite: The job must be a batch job that uses Dataflow Shuffle and was run with the `pause_on_failure` service option. Its temporary directory contents must remain available while paused.
- Prerequisite: To resume, the job must be paused, not pausing.
FIRST-PARTY EVIDENCE
- https://docs.cloud.google.com/sdk/docs/release-notes#58000_2026-08-11
- https://docs.cloud.google.com/sdk/gcloud/reference/dataflow/jobs/pause
- https://docs.cloud.google.com/sdk/gcloud/reference/dataflow/jobs/resume
- https://docs.cloud.google.com/dataflow/docs/guides/pause-job
Check the installed version and the source before using it. Entry JSON