Class DetectLanguageResponse (3.11.3)

DetectLanguageResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The response message for language detection.

Attribute

NameDescription
languages MutableSequence[google.cloud.translate_v3.types.DetectedLanguage]
The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.