Skip to content

Commit 689fff2

Browse files
feat(speech): update the api
#### speech:v1p1beta1 The following keys were deleted: - schemas.Entry (Total Keys: 5) - schemas.RecognitionConfig.properties.transcriptNormalization.$ref (Total Keys: 1) - schemas.TranscriptNormalization (Total Keys: 3)
1 parent cf2d4e8 commit 689fff2

File tree

4 files changed

+3
-51
lines changed

4 files changed

+3
-51
lines changed

docs/dyn/speech_v1p1beta1.speech.html

-14
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,6 @@ <h3>Method Details</h3>
174174
],
175175
},
176176
],
177-
&quot;transcriptNormalization&quot;: { # Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability &gt; 0.8) and final transcripts. # Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability &gt; 0.8) and final transcripts.
178-
&quot;entries&quot;: { # A single replacement configuration. # A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [&quot;cat&quot; =&gt; &quot;dog&quot;, &quot;mountain cat&quot; =&gt; &quot;mountain dog&quot;] will never be applied because we will always process the first entry before it. At most 100 entries.
179-
&quot;caseSensitive&quot;: True or False, # Whether the search is case sensitive.
180-
&quot;replace&quot;: &quot;A String&quot;, # What to replace with. Max length is 100 characters.
181-
&quot;search&quot;: &quot;A String&quot;, # What to replace. Max length is 100 characters.
182-
},
183-
},
184177
&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.
185178
},
186179
&quot;outputConfig&quot;: { # Specifies an optional destination for the recognition results. # Optional. Specifies an optional destination for the recognition results.
@@ -302,13 +295,6 @@ <h3>Method Details</h3>
302295
],
303296
},
304297
],
305-
&quot;transcriptNormalization&quot;: { # Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability &gt; 0.8) and final transcripts. # Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability &gt; 0.8) and final transcripts.
306-
&quot;entries&quot;: { # A single replacement configuration. # A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [&quot;cat&quot; =&gt; &quot;dog&quot;, &quot;mountain cat&quot; =&gt; &quot;mountain dog&quot;] will never be applied because we will always process the first entry before it. At most 100 entries.
307-
&quot;caseSensitive&quot;: True or False, # Whether the search is case sensitive.
308-
&quot;replace&quot;: &quot;A String&quot;, # What to replace with. Max length is 100 characters.
309-
&quot;search&quot;: &quot;A String&quot;, # What to replace. Max length is 100 characters.
310-
},
311-
},
312298
&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.
313299
},
314300
}

googleapiclient/discovery_cache/documents/speech.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
}
213213
}
214214
},
215-
"revision": "20210714",
215+
"revision": "20210726",
216216
"rootUrl": "https://speech.googleapis.com/",
217217
"schemas": {
218218
"ListOperationsResponse": {

googleapiclient/discovery_cache/documents/speech.v1p1beta1.json

+1-35
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
}
525525
}
526526
},
527-
"revision": "20210714",
527+
"revision": "20210726",
528528
"rootUrl": "https://speech.googleapis.com/",
529529
"schemas": {
530530
"ClassItem": {
@@ -596,25 +596,6 @@
596596
"properties": {},
597597
"type": "object"
598598
},
599-
"Entry": {
600-
"description": "A single replacement configuration.",
601-
"id": "Entry",
602-
"properties": {
603-
"caseSensitive": {
604-
"description": "Whether the search is case sensitive.",
605-
"type": "boolean"
606-
},
607-
"replace": {
608-
"description": "What to replace with. Max length is 100 characters.",
609-
"type": "string"
610-
},
611-
"search": {
612-
"description": "What to replace. Max length is 100 characters.",
613-
"type": "string"
614-
}
615-
},
616-
"type": "object"
617-
},
618599
"ListCustomClassesResponse": {
619600
"description": "Message returned to the client by the `ListCustomClasses` method.",
620601
"id": "ListCustomClassesResponse",
@@ -950,10 +931,6 @@
950931
},
951932
"type": "array"
952933
},
953-
"transcriptNormalization": {
954-
"$ref": "TranscriptNormalization",
955-
"description": "Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts."
956-
},
957934
"useEnhanced": {
958935
"description": "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.",
959936
"type": "boolean"
@@ -1245,17 +1222,6 @@
12451222
},
12461223
"type": "object"
12471224
},
1248-
"TranscriptNormalization": {
1249-
"description": "Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.",
1250-
"id": "TranscriptNormalization",
1251-
"properties": {
1252-
"entries": {
1253-
"$ref": "Entry",
1254-
"description": "A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [\"cat\" => \"dog\", \"mountain cat\" => \"mountain dog\"] will never be applied because we will always process the first entry before it. At most 100 entries."
1255-
}
1256-
},
1257-
"type": "object"
1258-
},
12591225
"TranscriptOutputConfig": {
12601226
"description": "Specifies an optional destination for the recognition results.",
12611227
"id": "TranscriptOutputConfig",

googleapiclient/discovery_cache/documents/speech.v2beta1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
}
185185
}
186186
},
187-
"revision": "20210714",
187+
"revision": "20210726",
188188
"rootUrl": "https://speech.googleapis.com/",
189189
"schemas": {
190190
"ListOperationsResponse": {

0 commit comments

Comments
 (0)