tests.system.google.cloud.translate.example_translate_text

Example Airflow DAG that translates text in Google Cloud Translate using V3 API version service in the Google Cloud.

Attributes

DAG_ID

PROJECT_ID

ENV_ID

REGION

RESOURCE_DATA_BUCKET

BATCH_TRANSLATE_SAMPLE_URI

BATCH_TRANSLATE_INPUT

DATA_SAMPLE_GCS_BUCKET_NAME

GCS_OUTPUT_DST

create_bucket

test_run

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 = 'gs://airflow-system-tests-resources/translate/V3/text_batch/inputs/translate_sample_de_1.txt'[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]

Was this entry helpful?