|
524 | 524 | }
|
525 | 525 | }
|
526 | 526 | },
|
527 |
| - "revision": "20210218", |
| 527 | + "revision": "20210318", |
528 | 528 | "rootUrl": "https://speech.googleapis.com/",
|
529 | 529 | "schemas": {
|
530 | 530 | "ClassItem": {
|
|
659 | 659 | "format": "google-datetime",
|
660 | 660 | "type": "string"
|
661 | 661 | },
|
| 662 | + "outputConfig": { |
| 663 | + "$ref": "TranscriptOutputConfig", |
| 664 | + "description": "Output only. A copy of the TranscriptOutputConfig if it was set in the request.", |
| 665 | + "readOnly": true |
| 666 | + }, |
662 | 667 | "progressPercent": {
|
663 | 668 | "description": "Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.",
|
664 | 669 | "format": "int32",
|
|
688 | 693 | "config": {
|
689 | 694 | "$ref": "RecognitionConfig",
|
690 | 695 | "description": "Required. Provides information to the recognizer that specifies how to process the request."
|
| 696 | + }, |
| 697 | + "outputConfig": { |
| 698 | + "$ref": "TranscriptOutputConfig", |
| 699 | + "description": "Optional. Specifies an optional destination for the recognition results." |
691 | 700 | }
|
692 | 701 | },
|
693 | 702 | "type": "object"
|
|
696 | 705 | "description": "The only message returned to the client by the `LongRunningRecognize` method. It contains the result as zero or more sequential `SpeechRecognitionResult` messages. It is included in the `result.response` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.",
|
697 | 706 | "id": "LongRunningRecognizeResponse",
|
698 | 707 | "properties": {
|
| 708 | + "outputConfig": { |
| 709 | + "$ref": "TranscriptOutputConfig", |
| 710 | + "description": "Original output config if present in the request." |
| 711 | + }, |
| 712 | + "outputError": { |
| 713 | + "$ref": "Status", |
| 714 | + "description": "If the transcript output fails this field contains the relevant error." |
| 715 | + }, |
699 | 716 | "results": {
|
700 | 717 | "description": "Sequential list of transcription results corresponding to sequential portions of audio.",
|
701 | 718 | "items": {
|
|
1195 | 1212 | },
|
1196 | 1213 | "type": "object"
|
1197 | 1214 | },
|
| 1215 | + "TranscriptOutputConfig": { |
| 1216 | + "description": "Specifies an optional destination for the recognition results.", |
| 1217 | + "id": "TranscriptOutputConfig", |
| 1218 | + "properties": { |
| 1219 | + "gcsUri": { |
| 1220 | + "description": "Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: `gs://bucket_name/object_name`, and the bucket must already exist.", |
| 1221 | + "type": "string" |
| 1222 | + } |
| 1223 | + }, |
| 1224 | + "type": "object" |
| 1225 | + }, |
1198 | 1226 | "WordInfo": {
|
1199 | 1227 | "description": "Word-specific information for recognized words.",
|
1200 | 1228 | "id": "WordInfo",
|
|
0 commit comments