CloudDataFusionStartPipelineOperator

Google

Starts a Cloud Data Fusion pipeline. Works for both batch and stream pipelines.

View Source

Last Updated: Oct. 20, 2020

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

pipeline_namestrYour pipeline name.
instance_namestrThe name of the instance.
success_statesList[str]If provided the operator will wait for pipeline to be in one of the provided states.
pipeline_timeoutintHow long (in seconds) operator should wait for the pipeline to be in one of success_states. Works only if success_states are provided.
locationstrThe Cloud Data Fusion location in which to handle the request.
runtime_argsdictOptional runtime args to be passed to the pipeline
namespacestrIf your pipeline belongs to a Basic edition instance, the namespace ID is always default. If your pipeline belongs to an Enterprise edition instance, you can create a namespace.
api_versionstrThe version of the api that will be requested for example 'v3'.
gcp_conn_idstrThe connection ID to use when fetching connection info.
delegate_tostrThe account to impersonate using domain-wide delegation of authority, if any. For this to work, the service account making the request must have domain-wide delegation enabled.
impersonation_chainUnion[str, Sequence[str]]Optional service account to impersonate using short-term credentials, or chained list of accounts required to get the access_token of the last account in the list, which will be impersonated in the request. If set as a string, the account must grant the originating account the Service Account Token Creator IAM role. If set as a sequence, the identities from the list must grant Service Account Token Creator IAM role to the directly preceding identity, with first account from the list granting this role to the originating account (templated).

Documentation

Starts a Cloud Data Fusion pipeline. Works for both batch and stream pipelines.

See also

For more information on how to use this operator, take a look at the guide: Start a DataFusion pipeline

Was this page helpful?