Class SpeechTranscription (2.3.3)

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

A speech recognition result corresponding to a portion of the audio.


alternatives Sequence[]
May contain one or more recognition hypotheses (up to the maximum specified in max_alternatives). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer.