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_document.DAG_ID = 'gcp_translate_document'[source]
-
tests.system.google.cloud.translate.example_translate_document.PROJECT_ID[source]
-
tests.system.google.cloud.translate.example_translate_document.ENV_ID[source]
-
tests.system.google.cloud.translate.example_translate_document.REGION = 'us-central1'[source]
-
tests.system.google.cloud.translate.example_translate_document.RESOURCE_DATA_BUCKET = 'airflow-system-tests-resources'[source]
-
tests.system.google.cloud.translate.example_translate_document.DATA_OUTPUT_BUCKET_NAME[source]
-
tests.system.google.cloud.translate.example_translate_document.DOC_TRANSLATE_INPUT[source]
-
tests.system.google.cloud.translate.example_translate_document.GCS_OUTPUT_DST[source]
-
tests.system.google.cloud.translate.example_translate_document.BATCH_DOC_INPUT_ITEM_1[source]
-
tests.system.google.cloud.translate.example_translate_document.BATCH_DOC_INPUT_ITEM_2[source]
-
tests.system.google.cloud.translate.example_translate_document.BATCH_OUTPUT_CONFIG[source]
-
tests.system.google.cloud.translate.example_translate_document.create_bucket[source]
-
tests.system.google.cloud.translate.example_translate_document.test_run[source]