Final results for a single file.
JSON representation |
---|
{ "error": { object ( |
Fields | |
---|---|
error |
Error if one was encountered. |
metadata |
|
uri |
Deprecated. Use |
transcript |
Deprecated. Use |
Union field
|
|
cloudStorageResult |
Recognition results written to Cloud Storage. This is populated only when |
inlineResult |
Recognition results. This is populated only when |
CloudStorageResult
Final results written to Cloud Storage.
JSON representation |
---|
{ "uri": string, "vttFormatUri": string, "srtFormatUri": string } |
Fields | |
---|---|
uri |
The Cloud Storage URI to which recognition results were written. |
vttFormatUri |
The Cloud Storage URI to which recognition results were written as VTT formatted captions. This is populated only when |
srtFormatUri |
The Cloud Storage URI to which recognition results were written as SRT formatted captions. This is populated only when |
InlineResult
Final results returned inline in the recognition response.
JSON representation |
---|
{
"transcript": {
object ( |
Fields | |
---|---|
transcript |
The transcript for the audio file. |
vttCaptions |
The transcript for the audio file as VTT formatted captions. This is populated only when |
srtCaptions |
The transcript for the audio file as SRT formatted captions. This is populated only when |
BatchRecognizeResults
Output type for Cloud Storage of recognizers.batchRecognize transcripts. Though this proto isn't returned in this API anywhere, the Cloud Storage transcripts will be this proto serialized and should be parsed as such.
JSON representation |
---|
{ "results": [ { object ( |
Fields | |
---|---|
results[] |
Sequential list of transcription results corresponding to sequential portions of audio. |
metadata |
Metadata about the recognition. |