Complete the airflow survey & get a free airflow 3 certification!

tests.system.google.cloud.gcs.example_salesforce_to_gcs

Example Airflow DAG that shows how to use SalesforceToGcsOperator.

Attributes

ENV_ID

PROJECT_ID

DAG_ID

DATASET_NAME

BUCKET_NAME

TABLE_NAME

GCS_OBJ_PATH

QUERY

create_bucket

test_run

Module Contents

tests.system.google.cloud.gcs.example_salesforce_to_gcs.ENV_ID[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.PROJECT_ID[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.DAG_ID = 'salesforce_to_gcs'[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.DATASET_NAME = 'dataset_salesforce_to_gcs_Uninferable'[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.BUCKET_NAME = 'bucket_salesforce_to_gcs_Uninferable'[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.TABLE_NAME = 'salesforce_test_datatable'[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.GCS_OBJ_PATH = 'results.csv'[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.QUERY = 'SELECT Id, Name, Company, Phone, Email, CreatedDate, LastModifiedDate, IsDeleted FROM Lead'[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.create_bucket[source]
tests.system.google.cloud.gcs.example_salesforce_to_gcs.test_run[source]

Was this entry helpful?