Class BatchTranslateTextRequest (1.7.2)

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.

Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/labels for more information.

Classes

GlossariesEntry

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

LabelsEntry

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

ModelsEntry

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