Class BatchTranslateTextRequest (1.6.0)

The batch translation request.

Required. Source language code.

Optional. The models to use for translation. Map's key is target language code. Map's value is model name. Value can be a built-in general model, or an AutoML Translation model. The value format depends on model type: - AutoML Translation models: projects/{project-id}/locations/{location- id}/models/{model-id} - General (built-in) models: projects/{project-id}/locations/{location- id}/models/general/nmt, projects/{project- id}/locations/{location-id}/models/general/base If the map is empty or a specific model is not requested for a language pair, then default google model (nmt) is used.

Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs.

Classes

GlossariesEntry

API documentation for translate_v3beta1.types.BatchTranslateTextRequest.GlossariesEntry class.

ModelsEntry

API documentation for translate_v3beta1.types.BatchTranslateTextRequest.ModelsEntry class.