Skip to content

Commit bb67195

Browse files
feat: Automated regeneration of texttospeech v1 client (googleapis#24623)
Auto-created at 2025-10-12 10:40:32 +0000 using the toys pull request generator.
1 parent b2757e0 commit bb67195

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367659,6 +367659,8 @@
367659367659
"/texttospeech:v1/ListOperationsResponse/nextPageToken": next_page_token
367660367660
"/texttospeech:v1/ListOperationsResponse/operations": operations
367661367661
"/texttospeech:v1/ListOperationsResponse/operations/operation": operation
367662+
"/texttospeech:v1/ListOperationsResponse/unreachable": unreachable
367663+
"/texttospeech:v1/ListOperationsResponse/unreachable/unreachable": unreachable
367662367664
"/texttospeech:v1/ListVoicesResponse": list_voices_response
367663367665
"/texttospeech:v1/ListVoicesResponse/voices": voices
367664367666
"/texttospeech:v1/ListVoicesResponse/voices/voice": voice
@@ -367750,6 +367752,7 @@
367750367752
"/texttospeech:v1/texttospeech.projects.locations.operations.list/name": name
367751367753
"/texttospeech:v1/texttospeech.projects.locations.operations.list/pageSize": page_size
367752367754
"/texttospeech:v1/texttospeech.projects.locations.operations.list/pageToken": page_token
367755+
"/texttospeech:v1/texttospeech.projects.locations.operations.list/returnPartialSuccess": return_partial_success
367753367756
"/texttospeech:v1/texttospeech.projects.locations.synthesizeLongAudio": synthesize_location_long_audio
367754367757
"/texttospeech:v1/texttospeech.projects.locations.synthesizeLongAudio/parent": parent
367755367758
"/texttospeech:v1/texttospeech.projects.locations.voices.synthesizeLongAudio": synthesize_voice_long_audio

generated/google-apis-texttospeech_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-texttospeech_v1
22

3+
### v0.43.0 (2025-10-12)
4+
5+
* Regenerated from discovery document revision 20251001
6+
37
### v0.42.0 (2025-09-28)
48

59
* Regenerated from discovery document revision 20250923

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,13 @@ class ListOperationsResponse
265265
# @return [Array<Google::Apis::TexttospeechV1::Operation>]
266266
attr_accessor :operations
267267

268+
# Unordered list. Unreachable resources. Populated when the request sets `
269+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
270+
# when attempting to list all resources across all supported locations.
271+
# Corresponds to the JSON property `unreachable`
272+
# @return [Array<String>]
273+
attr_accessor :unreachable
274+
268275
def initialize(**args)
269276
update!(**args)
270277
end
@@ -273,6 +280,7 @@ def initialize(**args)
273280
def update!(**args)
274281
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
275282
@operations = args[:operations] if args.key?(:operations)
283+
@unreachable = args[:unreachable] if args.key?(:unreachable)
276284
end
277285
end
278286

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TexttospeechV1
1818
# Version of the google-apis-texttospeech_v1 gem
19-
GEM_VERSION = "0.42.0"
19+
GEM_VERSION = "0.43.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250923"
25+
REVISION = "20251001"
2626
end
2727
end
2828
end

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
237237
property :next_page_token, as: 'nextPageToken'
238238
collection :operations, as: 'operations', class: Google::Apis::TexttospeechV1::Operation, decorator: Google::Apis::TexttospeechV1::Operation::Representation
239239

240+
collection :unreachable, as: 'unreachable'
240241
end
241242
end
242243

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/service.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
198198
# The standard list page size.
199199
# @param [String] page_token
200200
# The standard list page token.
201+
# @param [Boolean] return_partial_success
202+
# When set to `true`, operations that are reachable are returned as normal, and
203+
# those that are unreachable are returned in the [ListOperationsResponse.
204+
# unreachable] field. This can only be `true` when reading across collections e.
205+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
206+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
207+
# explicitly documented otherwise in service or product specific documentation.
201208
# @param [String] fields
202209
# Selector specifying which fields to include in a partial response.
203210
# @param [String] quota_user
@@ -215,14 +222,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
215222
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
216223
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
217224
# @raise [Google::Apis::AuthorizationError] Authorization is required
218-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
225+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
219226
command = make_simple_command(:get, 'v1/{+name}/operations', options)
220227
command.response_representation = Google::Apis::TexttospeechV1::ListOperationsResponse::Representation
221228
command.response_class = Google::Apis::TexttospeechV1::ListOperationsResponse
222229
command.params['name'] = name unless name.nil?
223230
command.query['filter'] = filter unless filter.nil?
224231
command.query['pageSize'] = page_size unless page_size.nil?
225232
command.query['pageToken'] = page_token unless page_token.nil?
233+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
226234
command.query['fields'] = fields unless fields.nil?
227235
command.query['quotaUser'] = quota_user unless quota_user.nil?
228236
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)