airflow.providers.google.cloud.triggers.bigquery_dts
¶
Module Contents¶
Classes¶
Triggers class to watch the Transfer Run state to define when the job is done. |
- class airflow.providers.google.cloud.triggers.bigquery_dts.BigQueryDataTransferRunTrigger(project_id, config_id, run_id, poll_interval=10, gcp_conn_id='google_cloud_default', location=None, impersonation_chain=None)[source]¶
Bases:
airflow.triggers.base.BaseTrigger
Triggers class to watch the Transfer Run state to define when the job is done.
- Parameters
project_id (str | None) – The BigQuery project id where the transfer configuration should be
config_id (str) – ID of the config of the Transfer Run which should be watched.
run_id (str) – ID of the Transfer Run which should be watched.
poll_interval (int) – Optional. Interval which defines how often triggers check status of the job.
gcp_conn_id (str) – The connection ID used to connect to Google Cloud.
location (str | None) – BigQuery Transfer Service location for regional transfers.
impersonation_chain (str | collections.abc.Sequence[str] | None) – 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).