Skip to content

Commit 3275bbb

Browse files
fix(texttospeech): update the API
#### texttospeech:v1beta1 The following keys were changed: - schemas.AudioConfig.properties.speakingRate.description - schemas.SynthesisInput.properties.customPronunciations.description #### texttospeech:v1 The following keys were changed: - schemas.AudioConfig.properties.speakingRate.description - schemas.SynthesisInput.properties.customPronunciations.description
1 parent e3e3024 commit 3275bbb

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

‎discovery/texttospeech-v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
}
319319
}
320320
},
321-
"revision": "20250114",
321+
"revision": "20250415",
322322
"rootUrl": "https://texttospeech.googleapis.com/",
323323
"schemas": {
324324
"AdvancedVoiceOptions": {
@@ -376,7 +376,7 @@
376376
"type": "integer"
377377
},
378378
"speakingRate": {
379-
"description": "Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 will return an error.",
379+
"description": "Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or > 2.0 will return an error.",
380380
"format": "double",
381381
"type": "number"
382382
},
@@ -606,7 +606,7 @@
606606
"properties": {
607607
"customPronunciations": {
608608
"$ref": "CustomPronunciations",
609-
"description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for English, French, Italian, German, and Spanish (EFIGS) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag."
609+
"description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag."
610610
},
611611
"multiSpeakerMarkup": {
612612
"$ref": "MultiSpeakerMarkup",

‎discovery/texttospeech-v1beta1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
}
262262
}
263263
},
264-
"revision": "20250114",
264+
"revision": "20250415",
265265
"rootUrl": "https://texttospeech.googleapis.com/",
266266
"schemas": {
267267
"AdvancedVoiceOptions": {
@@ -321,7 +321,7 @@
321321
"type": "integer"
322322
},
323323
"speakingRate": {
324-
"description": "Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 will return an error.",
324+
"description": "Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or > 2.0 will return an error.",
325325
"format": "double",
326326
"type": "number"
327327
},
@@ -539,7 +539,7 @@
539539
"properties": {
540540
"customPronunciations": {
541541
"$ref": "CustomPronunciations",
542-
"description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for English, French, Italian, German, and Spanish (EFIGS) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag."
542+
"description": "Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag."
543543
},
544544
"multiSpeakerMarkup": {
545545
"$ref": "MultiSpeakerMarkup",

‎src/apis/texttospeech/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export namespace texttospeech_v1 {
160160
*/
161161
sampleRateHertz?: number | null;
162162
/**
163-
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 4.0 will return an error.
163+
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 2.0 will return an error.
164164
*/
165165
speakingRate?: number | null;
166166
/**
@@ -310,7 +310,7 @@ export namespace texttospeech_v1 {
310310
*/
311311
export interface Schema$SynthesisInput {
312312
/**
313-
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for English, French, Italian, German, and Spanish (EFIGS) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
313+
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
314314
*/
315315
customPronunciations?: Schema$CustomPronunciations;
316316
/**

‎src/apis/texttospeech/v1beta1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export namespace texttospeech_v1beta1 {
158158
*/
159159
sampleRateHertz?: number | null;
160160
/**
161-
* Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 4.0 will return an error.
161+
* Optional. Input only. Speaking rate/speed, in the range [0.25, 2.0]. 1.0 is the normal native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other values < 0.25 or \> 2.0 will return an error.
162162
*/
163163
speakingRate?: number | null;
164164
/**
@@ -300,7 +300,7 @@ export namespace texttospeech_v1beta1 {
300300
*/
301301
export interface Schema$SynthesisInput {
302302
/**
303-
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for English, French, Italian, German, and Spanish (EFIGS) languages, as provided in VoiceSelectionParams. Journey and Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
303+
* Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations. The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported. In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
304304
*/
305305
customPronunciations?: Schema$CustomPronunciations;
306306
/**

0 commit comments

Comments
 (0)