Reference documentation and code samples for the Cloud Speech V2 Client class RecognizeResponse.
Response message for the Recognize method.
Generated from protobuf message google.cloud.speech.v2.RecognizeResponse
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ results
array< Google\Cloud\Speech\V2\SpeechRecognitionResult
>
Sequential list of transcription results corresponding to sequential portions of audio.
↳ metadata
getResults
Sequential list of transcription results corresponding to sequential portions of audio.
setResults
Sequential list of transcription results corresponding to sequential portions of audio.
$this
getMetadata
Metadata about the recognition.
hasMetadata
clearMetadata
setMetadata
Metadata about the recognition.
$this