Skip to content

Commit c73e71c

Browse files
feat(texttospeech): update the API
#### texttospeech:v1beta1 The following keys were added: - schemas.AdvancedVoiceOptions.properties.relaxSafetyFilters.description - schemas.AdvancedVoiceOptions.properties.relaxSafetyFilters.type #### texttospeech:v1 The following keys were added: - schemas.AdvancedVoiceOptions.properties.relaxSafetyFilters.description - schemas.AdvancedVoiceOptions.properties.relaxSafetyFilters.type
1 parent 5418407 commit c73e71c

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

discovery/texttospeech-v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
}
324324
}
325325
},
326-
"revision": "20251001",
326+
"revision": "20251014",
327327
"rootUrl": "https://texttospeech.googleapis.com/",
328328
"schemas": {
329329
"AdvancedVoiceOptions": {
@@ -333,6 +333,10 @@
333333
"lowLatencyJourneySynthesis": {
334334
"description": "Only for Journey voices. If false, the synthesis is context aware and has a higher latency.",
335335
"type": "boolean"
336+
},
337+
"relaxSafetyFilters": {
338+
"description": "Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.",
339+
"type": "boolean"
336340
}
337341
},
338342
"type": "object"

discovery/texttospeech-v1beta1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
}
267267
}
268268
},
269-
"revision": "20251001",
269+
"revision": "20251014",
270270
"rootUrl": "https://texttospeech.googleapis.com/",
271271
"schemas": {
272272
"AdvancedVoiceOptions": {
@@ -276,6 +276,10 @@
276276
"lowLatencyJourneySynthesis": {
277277
"description": "Only for Journey voices. If false, the synthesis is context aware and has a higher latency.",
278278
"type": "boolean"
279+
},
280+
"relaxSafetyFilters": {
281+
"description": "Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.",
282+
"type": "boolean"
279283
}
280284
},
281285
"type": "object"

src/apis/texttospeech/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ export namespace texttospeech_v1 {
138138
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
139139
*/
140140
lowLatencyJourneySynthesis?: boolean | null;
141+
/**
142+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.
143+
*/
144+
relaxSafetyFilters?: boolean | null;
141145
}
142146
/**
143147
* Description of audio data to be synthesized.

src/apis/texttospeech/v1beta1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ export namespace texttospeech_v1beta1 {
136136
* Only for Journey voices. If false, the synthesis is context aware and has a higher latency.
137137
*/
138138
lowLatencyJourneySynthesis?: boolean | null;
139+
/**
140+
* Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.
141+
*/
142+
relaxSafetyFilters?: boolean | null;
139143
}
140144
/**
141145
* Description of audio data to be synthesized.

0 commit comments

Comments
 (0)