Example Airflow DAG that translates text in Google Cloud Translate using V3 API version
service in the Google Cloud.
Module Contents
-
tests.system.google.cloud.translate.example_translate_text.DAG_ID = 'gcp_translate_text'[source]
-
tests.system.google.cloud.translate.example_translate_text.PROJECT_ID[source]
-
tests.system.google.cloud.translate.example_translate_text.ENV_ID[source]
-
tests.system.google.cloud.translate.example_translate_text.REGION = 'us-central1'[source]
-
tests.system.google.cloud.translate.example_translate_text.RESOURCE_DATA_BUCKET = 'airflow-system-tests-resources'[source]
-
tests.system.google.cloud.translate.example_translate_text.BATCH_TRANSLATE_SAMPLE_URI[source]
-
tests.system.google.cloud.translate.example_translate_text.BATCH_TRANSLATE_INPUT[source]
-
tests.system.google.cloud.translate.example_translate_text.DATA_SAMPLE_GCS_BUCKET_NAME[source]
-
tests.system.google.cloud.translate.example_translate_text.GCS_OUTPUT_DST[source]
-
tests.system.google.cloud.translate.example_translate_text.create_bucket[source]
-
tests.system.google.cloud.translate.example_translate_text.test_run[source]