tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive

Example DAG using GoogleCloudStorageToGoogleDriveOperator.

Using this operator requires the following additional scopes: https://www.googleapis.com/auth/drive

Module Contents

Functions

create_connection(connection_id)

Attributes

ENV_ID

PROJECT_ID

FOLDER_ID

DAG_ID

RESOURCES_BUCKET_NAME

BUCKET_NAME

CONNECTION_ID

TMP_PATH

WORK_DIR

CURRENT_FOLDER

LOCAL_PATH

FILE_LOCAL_PATH

FILE_NAME

log

test_run

tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.ENV_ID[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.PROJECT_ID[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.FOLDER_ID[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.DAG_ID = 'gcs_to_gdrive'[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.RESOURCES_BUCKET_NAME = 'airflow-system-tests-resources'[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.BUCKET_NAME[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.CONNECTION_ID[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.TMP_PATH = 'tmp'[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.WORK_DIR[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.CURRENT_FOLDER[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.LOCAL_PATH[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.FILE_LOCAL_PATH[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.FILE_NAME = 'example_upload.txt'[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.log[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.create_connection(connection_id)[source]
tests.system.providers.google.cloud.gcs.example_gcs_to_gdrive.test_run[source]

Was this entry helpful?