File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_dataproc_workflow-templates_create.1
.TH "GCLOUD_BETA_DATAPROC_WORKFLOW\-TEMPLATES_CREATE" 1
.SH "NAME"
.HP
gcloud beta dataproc workflow\-templates create \- create a workflow template
.SH "SYNOPSIS"
.HP
\f5gcloud beta dataproc workflow\-templates create\fR (\fITEMPLATE\fR\ :\ \fB\-\-region\fR=\fIREGION\fR) [\fB\-\-dag\-timeout\fR=\fIDAG_TIMEOUT\fR] [\fB\-\-kms\-key\fR=\fIKMS_KEY\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Create a workflow template.
.SH "EXAMPLES"
To create a workflow template named \f5\fImy\-workflow\-template\fR\fR in region
\f5\fIus\-central1\fR\fR with label params 'key1'='value1' and 'key2'='value2',
run:
.RS 2m
$ gcloud beta dataproc workflow\-templates create \e
my\-workflow\-template \-\-region=us\-central1 \e
\-\-labels="key1=value1,key2=value2"
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Template resource \- The name of the workflow template to create. The arguments
in this group can be used to specify the attributes of this resource. (NOTE)
Some attributes are not given arguments in this group but can be set in other
ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5template\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fITEMPLATE\fR
ID of the template or fully qualified identifier for the template.
To set the \f5template\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5template\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-region\fR=\fIREGION\fR
Dataproc region for the template. Each Dataproc region constitutes an
independent resource namespace constrained to deploying instances into Compute
Engine zones inside the region. Overrides the default \f5dataproc/region\fR
property value for this command invocation.
To set the \f5region\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5template\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-region\fR on the command line;
.IP "\(bu" 2m
set the property \f5dataproc/region\fR.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-dag\-timeout\fR=\fIDAG_TIMEOUT\fR
The duration for which a DAG of jobs can run before being auto\-cancelled, such
as "10m" or "16h". See $ gcloud topic datetimes for information on duration
formats.
.TP 2m
\fB\-\-kms\-key\fR=\fIKMS_KEY\fR
The KMS key used to encrypt sensitive data in the workflow template.
.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.
.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. These
variants are also available:
.RS 2m
$ gcloud dataproc workflow\-templates create
.RE
.RS 2m
$ gcloud alpha dataproc workflow\-templates create
.RE