Skip to content

Commit b6efa8f

Browse files
fix(texttospeech): update the API
#### texttospeech:v1beta1 The following keys were changed: - schemas.AudioConfig.properties.audioEncoding.enum - schemas.AudioConfig.properties.audioEncoding.enumDescriptions #### texttospeech:v1 The following keys were changed: - schemas.AudioConfig.properties.audioEncoding.enum - schemas.AudioConfig.properties.audioEncoding.enumDescriptions
1 parent ec6fc5e commit b6efa8f

File tree

4 files changed

+635
-6
lines changed

4 files changed

+635
-6
lines changed

discovery/texttospeech-v1.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
}
319319
}
320320
},
321-
"revision": "20250424",
321+
"revision": "20250612",
322322
"rootUrl": "https://texttospeech.googleapis.com/",
323323
"schemas": {
324324
"AdvancedVoiceOptions": {
@@ -345,7 +345,8 @@
345345
"OGG_OPUS",
346346
"MULAW",
347347
"ALAW",
348-
"PCM"
348+
"PCM",
349+
"M4A"
349350
],
350351
"enumDescriptions": [
351352
"Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.",
@@ -354,7 +355,8 @@
354355
"Opus encoded audio wrapped in an ogg container. The result is a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.",
355356
"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Audio content returned as MULAW also contains a WAV header.",
356357
"8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. Audio content returned as ALAW also contains a WAV header.",
357-
"Uncompressed 16-bit signed little-endian samples (Linear PCM). Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or any other) header."
358+
"Uncompressed 16-bit signed little-endian samples (Linear PCM). Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or any other) header.",
359+
"M4A audio."
358360
],
359361
"type": "string"
360362
},

discovery/texttospeech-v1beta1.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
}
262262
}
263263
},
264-
"revision": "20250424",
264+
"revision": "20250612",
265265
"rootUrl": "https://texttospeech.googleapis.com/",
266266
"schemas": {
267267
"AdvancedVoiceOptions": {
@@ -289,7 +289,8 @@
289289
"OGG_OPUS",
290290
"MULAW",
291291
"ALAW",
292-
"PCM"
292+
"PCM",
293+
"M4A"
293294
],
294295
"enumDescriptions": [
295296
"Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT.",
@@ -299,7 +300,8 @@
299300
"Opus encoded audio wrapped in an ogg container. The result is a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate.",
300301
"8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Audio content returned as MULAW also contains a WAV header.",
301302
"8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law. Audio content returned as ALAW also contains a WAV header.",
302-
"Uncompressed 16-bit signed little-endian samples (Linear PCM). Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or any other) header."
303+
"Uncompressed 16-bit signed little-endian samples (Linear PCM). Note that as opposed to LINEAR16, audio won't be wrapped in a WAV (or any other) header.",
304+
"M4A audio."
303305
],
304306
"type": "string"
305307
},

0 commit comments

Comments
 (0)