airflow.providers.google.cloud.operators.dataprep
¶
This module contains a Google Dataprep operator.
Module Contents¶
Classes¶
Get information about the batch jobs within a Cloud Dataprep job. |
|
Get the specified job group. |
|
Create a |
|
Create a copy of the provided flow id, as well as all contained recipes. |
|
Delete the flow with provided id. |
|
Runs the flow with the provided id copy of the provided flow id. |
- class airflow.providers.google.cloud.operators.dataprep.DataprepGetJobsForJobGroupOperator(*, dataprep_conn_id='dataprep_default', job_group_id, **kwargs)[source]¶
Bases:
airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator
Get information about the batch jobs within a Cloud Dataprep job.
API documentation: https://clouddataprep.com/documentation/api#section/Overview.
See also
For more information on how to use this operator, take a look at the guide: Get Jobs For Job Group
:param job_group_id The ID of the job group that will be requests
- template_fields: collections.abc.Sequence[str] = ('job_group_id',)[source]¶
- class airflow.providers.google.cloud.operators.dataprep.DataprepGetJobGroupOperator(*, dataprep_conn_id='dataprep_default', project_id=PROVIDE_PROJECT_ID, job_group_id, embed, include_deleted, **kwargs)[source]¶
Bases:
airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator
Get the specified job group.
A job group is a job that is executed from a specific node in a flow.
API documentation: https://clouddataprep.com/documentation/api#section/Overview.
See also
For more information on how to use this operator, take a look at the guide: Get Job Group
- Parameters
- template_fields: collections.abc.Sequence[str] = ('job_group_id', 'embed', 'project_id')[source]¶
- class airflow.providers.google.cloud.operators.dataprep.DataprepRunJobGroupOperator(*, project_id=PROVIDE_PROJECT_ID, dataprep_conn_id='dataprep_default', body_request, **kwargs)[source]¶
Bases:
airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator
Create a
jobGroup
, which launches the specified job as the authenticated user.This performs the same action as clicking on the Run Job button in the application.
To get recipe_id please follow the Dataprep API documentation: https://clouddataprep.com/documentation/api#operation/runJobGroup.
See also
For more information on how to use this operator, take a look at the guide: Run Job Group
- Parameters
- template_fields: collections.abc.Sequence[str] = ('body_request',)[source]¶
- class airflow.providers.google.cloud.operators.dataprep.DataprepCopyFlowOperator(*, project_id=PROVIDE_PROJECT_ID, dataprep_conn_id='dataprep_default', flow_id, name='', description='', copy_datasources=False, **kwargs)[source]¶
Bases:
airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator
Create a copy of the provided flow id, as well as all contained recipes.
- Parameters
- template_fields: collections.abc.Sequence[str] = ('flow_id', 'name', 'project_id', 'description')[source]¶
- class airflow.providers.google.cloud.operators.dataprep.DataprepDeleteFlowOperator(*, dataprep_conn_id='dataprep_default', flow_id, **kwargs)[source]¶
Bases:
airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator
Delete the flow with provided id.
- Parameters
- template_fields: collections.abc.Sequence[str] = ('flow_id',)[source]¶
- class airflow.providers.google.cloud.operators.dataprep.DataprepRunFlowOperator(*, project_id=PROVIDE_PROJECT_ID, flow_id, body_request, dataprep_conn_id='dataprep_default', **kwargs)[source]¶
Bases:
airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator
Runs the flow with the provided id copy of the provided flow id.
- Parameters
- template_fields: collections.abc.Sequence[str] = ('flow_id', 'project_id')[source]¶