File: //snap/google-cloud-cli/current/help/man/man1/gcloud_beta_dataflow_jobs_drain.1
.TH "GCLOUD_BETA_DATAFLOW_JOBS_DRAIN" 1
.SH "NAME"
.HP
gcloud beta dataflow jobs drain \- drains all jobs that match the command line arguments
.SH "SYNOPSIS"
.HP
\f5gcloud beta dataflow jobs drain\fR \fIJOB_ID\fR [\fIJOB_ID\fR\ ...] [\fB\-\-region\fR=\fIREGION_ID\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Once Drain is triggered, the pipeline will stop accepting new
inputs. The input watermark will be advanced to infinity. Elements already in
the pipeline will continue to be processed. Drained jobs can safely be
cancelled.
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIJOB_ID\fR [\fIJOB_ID\fR ...]
Job IDs to operate on.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-region\fR=\fIREGION_ID\fR
Region ID of the jobs' regional endpoint. Defaults to 'us\-central1'.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in beta and might change without notice. This variant
is also available:
.RS 2m
$ gcloud dataflow jobs drain
.RE