mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 19:06:53 +00:00
71 lines
2.3 KiB
Text
71 lines
2.3 KiB
Text
NAME
|
|
gcloud dataflow yaml run - runs a job from the specified path
|
|
|
|
SYNOPSIS
|
|
gcloud dataflow yaml run JOB_NAME
|
|
(--yaml-pipeline=YAML_PIPELINE
|
|
| --yaml-pipeline-file=YAML_PIPELINE_FILE)
|
|
[--jinja-variables=JSON_OBJECT] [--network=NETWORK]
|
|
[--pipeline-options=[OPTIONS=VALUE;OPTION=VALUE,...]]
|
|
[--region=REGION_ID] [--subnetwork=SUBNETWORK]
|
|
[--template-file-gcs-location=TEMPLATE_FILE_GCS_LOCATION]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Runs a job from the specified YAML description or Cloud Storage path.
|
|
|
|
EXAMPLES
|
|
To run a job from YAML, run:
|
|
|
|
$ gcloud dataflow yaml run my-job \
|
|
--yaml-pipeline-file=gs://yaml-path --region=europe-west1
|
|
|
|
POSITIONAL ARGUMENTS
|
|
JOB_NAME
|
|
Unique name to assign to the job.
|
|
|
|
REQUIRED FLAGS
|
|
Exactly one of these must be specified:
|
|
|
|
--yaml-pipeline=YAML_PIPELINE
|
|
Inline definition of the YAML pipeline to run.
|
|
|
|
--yaml-pipeline-file=YAML_PIPELINE_FILE
|
|
Path of a file defining the YAML pipeline to run. (Must be a local
|
|
file or a URL beginning with 'gs://'.)
|
|
|
|
OPTIONAL FLAGS
|
|
--jinja-variables=JSON_OBJECT
|
|
Jinja2 variables to be used in reifying the yaml.
|
|
|
|
--network=NETWORK
|
|
Compute Engine network for launching worker instances to run the
|
|
pipeline. If not set, the default network is used.
|
|
|
|
--pipeline-options=[OPTIONS=VALUE;OPTION=VALUE,...]
|
|
Pipeline options to pass to the job.
|
|
|
|
--region=REGION_ID
|
|
Region ID of the job's regional endpoint. Defaults to 'us-central1'.
|
|
|
|
--subnetwork=SUBNETWORK
|
|
Compute Engine subnetwork for launching worker instances to run the
|
|
pipeline. If not set, the default subnetwork is used.
|
|
|
|
--template-file-gcs-location=TEMPLATE_FILE_GCS_LOCATION
|
|
Google Cloud Storage location of the YAML template to run. (Must be a
|
|
URL beginning with 'gs://'.)
|
|
|
|
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 $ gcloud help for details.
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud beta dataflow yaml run
|
|
|