airflow.providers.google.cloud.triggers.cloud_build
¶
Module Contents¶
Classes¶
CloudBuildCreateBuildTrigger run on the trigger worker to perform create Build operation. |
- class airflow.providers.google.cloud.triggers.cloud_build.CloudBuildCreateBuildTrigger(id_, project_id, gcp_conn_id='google_cloud_default', impersonation_chain=None, poll_interval=4.0, location='global')[source]¶
Bases:
airflow.triggers.base.BaseTrigger
CloudBuildCreateBuildTrigger run on the trigger worker to perform create Build operation.
- Parameters
id – The ID of the build.
project_id (str | None) – Google Cloud Project where the job is running
gcp_conn_id (str) – Optional, the connection ID used to connect to Google Cloud Platform.
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).
poll_interval (float) – polling period in seconds to check for the status
location (str) – The location of the project.