airflow.providers.google.cloud.links.translate

This module contains Google Translate links.

Module Contents

Classes

TranslationLegacyDatasetLink

Helper class for constructing Legacy Translation Dataset link.

TranslationDatasetListLink

Helper class for constructing Translation Dataset List link.

TranslationLegacyModelLink

Helper class for constructing Translation Legacy Model link.

TranslationLegacyModelTrainLink

Helper class for constructing Translation Legacy Model Train link.

TranslationLegacyModelPredictLink

Helper class for constructing Translation Legacy Model Predict link.

TranslateTextBatchLink

Helper class for constructing Translation results for the text batch translate.

TranslationNativeDatasetLink

Helper class for constructing Legacy Translation Dataset link.

TranslationDatasetsListLink

Helper class for constructing Translation Datasets List link.

Attributes

TRANSLATION_BASE_LINK

TRANSLATION_LEGACY_DATASET_LINK

TRANSLATION_DATASET_LIST_LINK

TRANSLATION_LEGACY_MODEL_LINK

TRANSLATION_LEGACY_MODEL_TRAIN_LINK

TRANSLATION_LEGACY_MODEL_PREDICT_LINK

TRANSLATION_TRANSLATE_TEXT_BATCH

TRANSLATION_NATIVE_DATASET_LINK

TRANSLATION_NATIVE_LIST_LINK

airflow.providers.google.cloud.links.translate.TRANSLATION_TRANSLATE_TEXT_BATCH[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Legacy Translation Dataset link.

Legacy Datasets are created and managed by AutoML API.

name = 'Translation Legacy Dataset'[source]
key = 'translation_legacy_dataset'[source]
format_str[source]
static persist(context, task_instance, dataset_id, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Translation Dataset List link.

name = 'Translation Dataset List'[source]
key = 'translation_dataset_list'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Translation Legacy Model link.

Legacy Models are created and managed by AutoML API.

name = 'Translation Legacy Model'[source]
key = 'translation_legacy_model'[source]
format_str[source]
static persist(context, task_instance, dataset_id, model_id, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Translation Legacy Model Train link.

Legacy Models are created and managed by AutoML API.

name = 'Translation Legacy Model Train'[source]
key = 'translation_legacy_model_train'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Translation Legacy Model Predict link.

Legacy Models are created and managed by AutoML API.

name = 'Translation Legacy Model Predict'[source]
key = 'translation_legacy_model_predict'[source]
format_str[source]
static persist(context, task_instance, model_id, project_id, dataset_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Translation results for the text batch translate.

Provides link to output results.

name = 'Text Translate Batch'[source]
key = 'translate_text_batch'[source]
format_str[source]
static extract_output_uri_prefix(output_config)[source]
static persist(context, task_instance, project_id, output_config)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Legacy Translation Dataset link.

Legacy Datasets are created and managed by AutoML API.

name = 'Translation Native Dataset'[source]
key = 'translation_naive_dataset'[source]
format_str[source]
static persist(context, task_instance, dataset_id, project_id)[source]

Bases: airflow.providers.google.cloud.links.base.BaseGoogleLink

Helper class for constructing Translation Datasets List link.

Both legacy and native datasets are available under this link.

name = 'Translation Dataset List'[source]
key = 'translation_dataset_list'[source]
format_str[source]
static persist(context, task_instance, project_id)[source]

Was this entry helpful?