DataprocCreateWorkflowTemplateOperator

Google

Creates new workflow template.

View on GitHub

Last Updated: Feb. 25, 2023

Access Instructions

Install the Google provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

project_idOptional. The ID of the Google Cloud project the cluster belongs to.
regionRequiredRequired. The Cloud Dataproc region in which to handle the request.
templateRequiredThe Dataproc workflow template to create. If a dict is provided, it must be of the same form as the protobuf message WorkflowTemplate.
retryA retry object used to retry requests. If None is specified, requests will not be retried.
timeoutThe amount of time, in seconds, to wait for the request to complete. Note that if retry is specified, the timeout applies to each individual attempt.
metadataAdditional metadata that is provided to the method.

Documentation

Creates new workflow template.

Was this page helpful?