Skip to content

Commit ddf3bce

Browse files
feat(speech): update the api
#### speech:v1p1beta1 The following keys were added: - schemas.LongRunningRecognizeMetadata.properties.outputConfig (Total Keys: 2) - schemas.LongRunningRecognizeRequest.properties.outputConfig (Total Keys: 1) - schemas.LongRunningRecognizeResponse.properties.outputConfig (Total Keys: 1) - schemas.LongRunningRecognizeResponse.properties.outputError (Total Keys: 1) - schemas.TranscriptOutputConfig (Total Keys: 3)
1 parent 4ab5f0b commit ddf3bce

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

docs/dyn/speech_v1p1beta1.speech.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ <h3>Method Details</h3>
174174
],
175175
&quot;useEnhanced&quot;: True or False, # Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.
176176
},
177+
&quot;outputConfig&quot;: { # Specifies an optional destination for the recognition results. # Optional. Specifies an optional destination for the recognition results.
178+
&quot;gcsUri&quot;: &quot;A String&quot;, # 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.
179+
},
177180
}
178181

179182
x__xgafv: string, V1 error format.

googleapiclient/discovery_cache/documents/speech.v1p1beta1.json

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
}
525525
}
526526
},
527-
"revision": "20210218",
527+
"revision": "20210318",
528528
"rootUrl": "https://speech.googleapis.com/",
529529
"schemas": {
530530
"ClassItem": {
@@ -659,6 +659,11 @@
659659
"format": "google-datetime",
660660
"type": "string"
661661
},
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+
},
662667
"progressPercent": {
663668
"description": "Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available.",
664669
"format": "int32",
@@ -688,6 +693,10 @@
688693
"config": {
689694
"$ref": "RecognitionConfig",
690695
"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."
691700
}
692701
},
693702
"type": "object"
@@ -696,6 +705,14 @@
696705
"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.",
697706
"id": "LongRunningRecognizeResponse",
698707
"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+
},
699716
"results": {
700717
"description": "Sequential list of transcription results corresponding to sequential portions of audio.",
701718
"items": {
@@ -1195,6 +1212,17 @@
11951212
},
11961213
"type": "object"
11971214
},
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+
},
11981226
"WordInfo": {
11991227
"description": "Word-specific information for recognized words.",
12001228
"id": "WordInfo",

0 commit comments

Comments
 (0)