Skip to content

Commit 7c28feb

Browse files
fix(texttospeech): update the API
#### texttospeech:v1beta1 The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - schemas.ListOperationsResponse.properties.unreachable.description - schemas.SynthesisInput.properties.markup.description #### texttospeech:v1 The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - schemas.ListOperationsResponse.properties.unreachable.description - schemas.SynthesisInput.properties.markup.description
1 parent b1f0a47 commit 7c28feb

File tree

4 files changed

+24
-32
lines changed

4 files changed

+24
-32
lines changed

discovery/texttospeech-v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
"type": "string"
257257
},
258258
"returnPartialSuccess": {
259-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
259+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
260260
"location": "query",
261261
"type": "boolean"
262262
}
@@ -323,7 +323,7 @@
323323
}
324324
}
325325
},
326-
"revision": "20251014",
326+
"revision": "20251202",
327327
"rootUrl": "https://texttospeech.googleapis.com/",
328328
"schemas": {
329329
"AdvancedVoiceOptions": {
@@ -523,7 +523,7 @@
523523
"type": "array"
524524
},
525525
"unreachable": {
526-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
526+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
527527
"items": {
528528
"type": "string"
529529
},
@@ -660,7 +660,7 @@
660660
"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."
661661
},
662662
"markup": {
663-
"description": "Markup for HD voices specifically. This field may not be used with any other voices.",
663+
"description": "Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.",
664664
"type": "string"
665665
},
666666
"multiSpeakerMarkup": {

discovery/texttospeech-v1beta1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"type": "string"
200200
},
201201
"returnPartialSuccess": {
202-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
202+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
203203
"location": "query",
204204
"type": "boolean"
205205
}
@@ -266,7 +266,7 @@
266266
}
267267
}
268268
},
269-
"revision": "20251014",
269+
"revision": "20251202",
270270
"rootUrl": "https://texttospeech.googleapis.com/",
271271
"schemas": {
272272
"AdvancedVoiceOptions": {
@@ -456,7 +456,7 @@
456456
"type": "array"
457457
},
458458
"unreachable": {
459-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
459+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
460460
"items": {
461461
"type": "string"
462462
},
@@ -593,7 +593,7 @@
593593
"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."
594594
},
595595
"markup": {
596-
"description": "Markup for HD voices specifically. This field may not be used with any other voices.",
596+
"description": "Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.",
597597
"type": "string"
598598
},
599599
"multiSpeakerMarkup": {

src/apis/texttospeech/v1.ts

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export namespace texttospeech_v1 {
249249
*/
250250
operations?: Schema$Operation[];
251251
/**
252-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
252+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
253253
*/
254254
unreachable?: string[] | null;
255255
}
@@ -344,7 +344,7 @@ export namespace texttospeech_v1 {
344344
*/
345345
customPronunciations?: Schema$CustomPronunciations;
346346
/**
347-
* Markup for HD voices specifically. This field may not be used with any other voices.
347+
* Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.
348348
*/
349349
markup?: string | null;
350350
/**
@@ -786,8 +786,7 @@ export namespace texttospeech_v1 {
786786
}
787787
}
788788

789-
export interface Params$Resource$Operations$Cancel
790-
extends StandardParameters {
789+
export interface Params$Resource$Operations$Cancel extends StandardParameters {
791790
/**
792791
* The name of the operation resource to be cancelled.
793792
*/
@@ -798,8 +797,7 @@ export namespace texttospeech_v1 {
798797
*/
799798
requestBody?: Schema$CancelOperationRequest;
800799
}
801-
export interface Params$Resource$Operations$Delete
802-
extends StandardParameters {
800+
export interface Params$Resource$Operations$Delete extends StandardParameters {
803801
/**
804802
* The name of the operation resource to be deleted.
805803
*/
@@ -978,8 +976,7 @@ export namespace texttospeech_v1 {
978976
}
979977
}
980978

981-
export interface Params$Resource$Projects$Locations$Synthesizelongaudio
982-
extends StandardParameters {
979+
export interface Params$Resource$Projects$Locations$Synthesizelongaudio extends StandardParameters {
983980
/**
984981
* The resource states of the request in the form of `projects/x/locations/x`.
985982
*/
@@ -1174,7 +1171,7 @@ export namespace texttospeech_v1 {
11741171
* pageSize: 'placeholder-value',
11751172
* // The standard list page token.
11761173
* pageToken: 'placeholder-value',
1177-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1174+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
11781175
* returnPartialSuccess: 'placeholder-value',
11791176
* });
11801177
* console.log(res.data);
@@ -1285,15 +1282,13 @@ export namespace texttospeech_v1 {
12851282
}
12861283
}
12871284

1288-
export interface Params$Resource$Projects$Locations$Operations$Get
1289-
extends StandardParameters {
1285+
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
12901286
/**
12911287
* The name of the operation resource.
12921288
*/
12931289
name?: string;
12941290
}
1295-
export interface Params$Resource$Projects$Locations$Operations$List
1296-
extends StandardParameters {
1291+
export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
12971292
/**
12981293
* The standard list filter.
12991294
*/
@@ -1311,7 +1306,7 @@ export namespace texttospeech_v1 {
13111306
*/
13121307
pageToken?: string;
13131308
/**
1314-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1309+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
13151310
*/
13161311
returnPartialSuccess?: boolean;
13171312
}

src/apis/texttospeech/v1beta1.ts

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export namespace texttospeech_v1beta1 {
239239
*/
240240
operations?: Schema$Operation[];
241241
/**
242-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
242+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
243243
*/
244244
unreachable?: string[] | null;
245245
}
@@ -334,7 +334,7 @@ export namespace texttospeech_v1beta1 {
334334
*/
335335
customPronunciations?: Schema$CustomPronunciations;
336336
/**
337-
* Markup for HD voices specifically. This field may not be used with any other voices.
337+
* Markup for Chirp 3: HD voices specifically. This field may not be used with any other voices.
338338
*/
339339
markup?: string | null;
340340
/**
@@ -696,8 +696,7 @@ export namespace texttospeech_v1beta1 {
696696
}
697697
}
698698

699-
export interface Params$Resource$Projects$Locations$Synthesizelongaudio
700-
extends StandardParameters {
699+
export interface Params$Resource$Projects$Locations$Synthesizelongaudio extends StandardParameters {
701700
/**
702701
* The resource states of the request in the form of `projects/x/locations/x`.
703702
*/
@@ -892,7 +891,7 @@ export namespace texttospeech_v1beta1 {
892891
* pageSize: 'placeholder-value',
893892
* // The standard list page token.
894893
* pageToken: 'placeholder-value',
895-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
894+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
896895
* returnPartialSuccess: 'placeholder-value',
897896
* });
898897
* console.log(res.data);
@@ -1003,15 +1002,13 @@ export namespace texttospeech_v1beta1 {
10031002
}
10041003
}
10051004

1006-
export interface Params$Resource$Projects$Locations$Operations$Get
1007-
extends StandardParameters {
1005+
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
10081006
/**
10091007
* The name of the operation resource.
10101008
*/
10111009
name?: string;
10121010
}
1013-
export interface Params$Resource$Projects$Locations$Operations$List
1014-
extends StandardParameters {
1011+
export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
10151012
/**
10161013
* The standard list filter.
10171014
*/
@@ -1029,7 +1026,7 @@ export namespace texttospeech_v1beta1 {
10291026
*/
10301027
pageToken?: string;
10311028
/**
1032-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
1029+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
10331030
*/
10341031
returnPartialSuccess?: boolean;
10351032
}

0 commit comments

Comments
 (0)