gcloud alpha dataproc workflow-templates

NAME
gcloud alpha dataproc workflow-templates - create and manage Dataproc workflow templates
SYNOPSIS
gcloud alpha dataproc workflow-templatesGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Create and manage Dataproc workflow templates.
EXAMPLES
To create a workflow template, run:
gcloudalphadataprocworkflow-templatescreatemy_template

To instantiate a workflow template, run:

gcloudalphadataprocworkflow-templatesinstantiatemy_template

To instantiate a workflow template from a file, run:

gcloudalphadataprocworkflow-templatesinstantiate-from-file--filetemplate.yaml

To delete a workflow template, run:

gcloudalphadataprocworkflow-templatesdeletemy_template

To view the details of a workflow template, run:

gcloudalphadataprocworkflow-templatesdescribemy_template

To see the list of all workflow templates, run:

gcloudalphadataprocworkflow-templateslist

To remove a job from a workflow template, run:

gcloudalphadataprocworkflow-templatesremove-jobmy_template--step-idid

To update managed cluster in a workflow template, run:

gcloudalphadataprocworkflow-templatesset-managed-clustermy_template--num-masters5

To update cluster selector in a workflow template, run:

gcloudalphadataprocworkflow-templatesset-cluster-selectormy_template--cluster-labelsenvironment=prod
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
add-job
(ALPHA) Add Dataproc jobs to workflow template.
COMMANDS
COMMAND is one of the following:
create
(ALPHA) Create a workflow template.
delete
(ALPHA) Delete a workflow template.
describe
(ALPHA) Describe a workflow template.
export
(ALPHA) Export a workflow template.
get-iam-policy
(ALPHA) Get IAM policy for a workflow template.
import
(ALPHA) Import a workflow template.
instantiate
(ALPHA) Instantiate a workflow template.
instantiate-from-file
(ALPHA) Instantiate a workflow template from a file.
list
(ALPHA) List workflow templates.
remove-dag-timeout
(ALPHA) Remove DAG timeout from a workflow template.
remove-job
(ALPHA) Remove a job from workflow template.
run
(ALPHA)(DEPRECATED) Run a workflow template.
set-cluster-selector
(ALPHA) Set cluster selector for the workflow template.
set-dag-timeout
(ALPHA) Set DAG timeout on a workflow template.
set-iam-policy
(ALPHA) Set IAM policy for a template.
set-managed-cluster
(ALPHA) Set a managed cluster for the workflow template.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gclouddataprocworkflow-templates
gcloudbetadataprocworkflow-templates

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.