airflow.providers.google.cloud.operators.life_sciences

Operators that interact with Google Cloud Life Sciences service.

Module Contents

class airflow.providers.google.cloud.operators.life_sciences.LifeSciencesRunPipelineOperator(*, body: dict, location: str, project_id: Optional[str] = None, gcp_conn_id: str = 'google_cloud_default', api_version: str = 'v2beta', impersonation_chain: Optional[Union[str, Sequence[str]]] = None, **kwargs)[source]

Bases: airflow.models.BaseOperator

Runs a Life Sciences Pipeline

See also

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

Parameters
  • body (dict) -- The request body

  • location (str) -- The location of the project

  • project_id (str) -- ID of the Google Cloud project if None then default project_id is used.

  • gcp_conn_id (str) -- The connection ID to use to connect to Google Cloud.

  • api_version (str) -- API version used (for example v2beta).

  • impersonation_chain (Union[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).

template_fields = ['body', 'gcp_conn_id', 'api_version', 'impersonation_chain'][source]
execute(self, context)[source]

Was this entry helpful?