Reference documentation and code samples for the Cloud Speech V2 Client class InlineResult.
Final results returned inline in the recognition response.
Generated from protobuf message google.cloud.speech.v2.InlineResult
Namespace
Google \ Cloud \ Speech \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ transcript
↳ vtt_captions
string
The transcript for the audio file as VTT formatted captions. This is populated only when VTT
output is requested.
↳ srt_captions
string
The transcript for the audio file as SRT formatted captions. This is populated only when SRT
output is requested.
getTranscript
The transcript for the audio file.
hasTranscript
clearTranscript
setTranscript
The transcript for the audio file.
$this
getVttCaptions
The transcript for the audio file as VTT formatted captions. This is
populated only when VTT
output is requested.
string
setVttCaptions
The transcript for the audio file as VTT formatted captions. This is
populated only when VTT
output is requested.
var
string
$this
getSrtCaptions
The transcript for the audio file as SRT formatted captions. This is
populated only when SRT
output is requested.
string
setSrtCaptions
The transcript for the audio file as SRT formatted captions. This is
populated only when SRT
output is requested.
var
string
$this