Skip to content

Commit f7a757b

Browse files
yoshi-automationfeywind
authored andcommitted
feat(texttospeech): update the API
#### texttospeech:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type #### texttospeech:v1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type
1 parent cd69810 commit f7a757b

File tree

4 files changed

+50
-4
lines changed

4 files changed

+50
-4
lines changed

discovery/texttospeech-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@
254254
"description": "The standard list page token.",
255255
"location": "query",
256256
"type": "string"
257+
},
258+
"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.",
260+
"location": "query",
261+
"type": "boolean"
257262
}
258263
},
259264
"path": "v1/{+name}/operations",
@@ -318,7 +323,7 @@
318323
}
319324
}
320325
},
321-
"revision": "20250923",
326+
"revision": "20251001",
322327
"rootUrl": "https://texttospeech.googleapis.com/",
323328
"schemas": {
324329
"AdvancedVoiceOptions": {
@@ -512,6 +517,13 @@
512517
"$ref": "Operation"
513518
},
514519
"type": "array"
520+
},
521+
"unreachable": {
522+
"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.",
523+
"items": {
524+
"type": "string"
525+
},
526+
"type": "array"
515527
}
516528
},
517529
"type": "object"

discovery/texttospeech-v1beta1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
"description": "The standard list page token.",
198198
"location": "query",
199199
"type": "string"
200+
},
201+
"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.",
203+
"location": "query",
204+
"type": "boolean"
200205
}
201206
},
202207
"path": "v1beta1/{+name}/operations",
@@ -261,7 +266,7 @@
261266
}
262267
}
263268
},
264-
"revision": "20250923",
269+
"revision": "20251001",
265270
"rootUrl": "https://texttospeech.googleapis.com/",
266271
"schemas": {
267272
"AdvancedVoiceOptions": {
@@ -445,6 +450,13 @@
445450
"$ref": "Operation"
446451
},
447452
"type": "array"
453+
},
454+
"unreachable": {
455+
"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.",
456+
"items": {
457+
"type": "string"
458+
},
459+
"type": "array"
448460
}
449461
},
450462
"type": "object"

src/apis/texttospeech/v1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ export namespace texttospeech_v1 {
244244
* A list of operations that matches the specified filter in the request.
245245
*/
246246
operations?: Schema$Operation[];
247+
/**
248+
* 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.
249+
*/
250+
unreachable?: string[] | null;
247251
}
248252
/**
249253
* The message returned to the client by the `ListVoices` method.
@@ -1166,13 +1170,16 @@ export namespace texttospeech_v1 {
11661170
* pageSize: 'placeholder-value',
11671171
* // The standard list page token.
11681172
* pageToken: 'placeholder-value',
1173+
* // 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+
* returnPartialSuccess: 'placeholder-value',
11691175
* });
11701176
* console.log(res.data);
11711177
*
11721178
* // Example response
11731179
* // {
11741180
* // "nextPageToken": "my_nextPageToken",
1175-
* // "operations": []
1181+
* // "operations": [],
1182+
* // "unreachable": []
11761183
* // }
11771184
* }
11781185
*
@@ -1299,6 +1306,10 @@ export namespace texttospeech_v1 {
12991306
* The standard list page token.
13001307
*/
13011308
pageToken?: string;
1309+
/**
1310+
* 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.
1311+
*/
1312+
returnPartialSuccess?: boolean;
13021313
}
13031314

13041315
export class Resource$Text {

src/apis/texttospeech/v1beta1.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ export namespace texttospeech_v1beta1 {
234234
* A list of operations that matches the specified filter in the request.
235235
*/
236236
operations?: Schema$Operation[];
237+
/**
238+
* 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.
239+
*/
240+
unreachable?: string[] | null;
237241
}
238242
/**
239243
* The message returned to the client by the `ListVoices` method.
@@ -884,13 +888,16 @@ export namespace texttospeech_v1beta1 {
884888
* pageSize: 'placeholder-value',
885889
* // The standard list page token.
886890
* pageToken: 'placeholder-value',
891+
* // 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.
892+
* returnPartialSuccess: 'placeholder-value',
887893
* });
888894
* console.log(res.data);
889895
*
890896
* // Example response
891897
* // {
892898
* // "nextPageToken": "my_nextPageToken",
893-
* // "operations": []
899+
* // "operations": [],
900+
* // "unreachable": []
894901
* // }
895902
* }
896903
*
@@ -1017,6 +1024,10 @@ export namespace texttospeech_v1beta1 {
10171024
* The standard list page token.
10181025
*/
10191026
pageToken?: string;
1027+
/**
1028+
* 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+
*/
1030+
returnPartialSuccess?: boolean;
10201031
}
10211032

10221033
export class Resource$Text {

0 commit comments

Comments
 (0)