Example DAG using GoogleCloudStorageToGoogleDriveOperator.
Using this operator requires the following additional scopes:
https://www.googleapis.com/auth/drive
Module Contents
Attributes
-
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]