Class DetectLanguageResponse (3.1.0)

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

The response message for language detection.

Attribute

NameDescription
languages Sequence[google.cloud.translate_v3.types.DetectedLanguage]
A list of detected languages sorted by detection confidence in descending order. The most probable language first.