Skip to content

Commit 057e3cb

Browse files
feat: Automated regeneration of texttospeech v1 client (#13170)
Auto-created at 2023-01-04 17:23:26 +0000 using the toys pull request generator.
1 parent 5037209 commit 057e3cb

File tree

5 files changed

+87
-3
lines changed

5 files changed

+87
-3
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246792,6 +246792,9 @@
246792246792
"/texttospeech:v1/CustomVoiceParams/model": model
246793246793
"/texttospeech:v1/CustomVoiceParams/reportedUsage": reported_usage
246794246794
"/texttospeech:v1/Empty": empty
246795+
"/texttospeech:v1/GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata": google_cloud_texttospeech_v1_synthesize_long_audio_metadata
246796+
"/texttospeech:v1/GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata/progressPercentage": progress_percentage
246797+
"/texttospeech:v1/GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata/startTime": start_time
246795246798
"/texttospeech:v1/ImportDataRequest": import_data_request
246796246799
"/texttospeech:v1/ImportDataRequest/csvCloudStorageUri": csv_cloud_storage_uri
246797246800
"/texttospeech:v1/ListOperationsResponse": list_operations_response
@@ -246818,6 +246821,9 @@
246818246821
"/texttospeech:v1/SynthesisInput": synthesis_input
246819246822
"/texttospeech:v1/SynthesisInput/ssml": ssml
246820246823
"/texttospeech:v1/SynthesisInput/text": text
246824+
"/texttospeech:v1/SynthesizeLongAudioMetadata": synthesize_long_audio_metadata
246825+
"/texttospeech:v1/SynthesizeLongAudioMetadata/progressPercentage": progress_percentage
246826+
"/texttospeech:v1/SynthesizeLongAudioMetadata/startTime": start_time
246821246827
"/texttospeech:v1/SynthesizeLongAudioRequest": synthesize_long_audio_request
246822246828
"/texttospeech:v1/SynthesizeLongAudioRequest/audioConfig": audio_config
246823246829
"/texttospeech:v1/SynthesizeLongAudioRequest/input": input

generated/google-apis-texttospeech_v1/CHANGELOG.md

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

3-
### v0.21.0 (2022-12-20)
3+
### v0.21.0 (2023-01-04)
44

5-
* Regenerated from discovery document revision 20221219
5+
* Regenerated from discovery document revision 20230103
66

77
### v0.20.0 (2022-12-07)
88

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,31 @@ def update!(**args)
147147
end
148148
end
149149

150+
# Metadata for response returned by the `SynthesizeLongAudio` method.
151+
class GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata
152+
include Google::Apis::Core::Hashable
153+
154+
# The progress of the most recent processing update in percentage, ie. 70.0%.
155+
# Corresponds to the JSON property `progressPercentage`
156+
# @return [Float]
157+
attr_accessor :progress_percentage
158+
159+
# Time when the request was received.
160+
# Corresponds to the JSON property `startTime`
161+
# @return [String]
162+
attr_accessor :start_time
163+
164+
def initialize(**args)
165+
update!(**args)
166+
end
167+
168+
# Update properties of this object
169+
def update!(**args)
170+
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
171+
@start_time = args[:start_time] if args.key?(:start_time)
172+
end
173+
end
174+
150175
# The response message for Operations.ListOperations.
151176
class ListOperationsResponse
152177
include Google::Apis::Core::Hashable
@@ -322,6 +347,31 @@ def update!(**args)
322347
end
323348
end
324349

350+
# Metadata for response returned by the `SynthesizeLongAudio` method.
351+
class SynthesizeLongAudioMetadata
352+
include Google::Apis::Core::Hashable
353+
354+
# The progress of the most recent processing update in percentage, ie. 70.0%.
355+
# Corresponds to the JSON property `progressPercentage`
356+
# @return [Float]
357+
attr_accessor :progress_percentage
358+
359+
# Time when the request was received.
360+
# Corresponds to the JSON property `startTime`
361+
# @return [String]
362+
attr_accessor :start_time
363+
364+
def initialize(**args)
365+
update!(**args)
366+
end
367+
368+
# Update properties of this object
369+
def update!(**args)
370+
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
371+
@start_time = args[:start_time] if args.key?(:start_time)
372+
end
373+
end
374+
325375
# The top-level message sent by the client for the `SynthesizeLongAudio` method.
326376
class SynthesizeLongAudioRequest
327377
include Google::Apis::Core::Hashable

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module TexttospeechV1
2222
GENERATOR_VERSION = "0.11.0"
2323

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

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
4646
include Google::Apis::Core::JsonObjectSupport
4747
end
4848

49+
class GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata
50+
class Representation < Google::Apis::Core::JsonRepresentation; end
51+
52+
include Google::Apis::Core::JsonObjectSupport
53+
end
54+
4955
class ListOperationsResponse
5056
class Representation < Google::Apis::Core::JsonRepresentation; end
5157

@@ -76,6 +82,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
7682
include Google::Apis::Core::JsonObjectSupport
7783
end
7884

85+
class SynthesizeLongAudioMetadata
86+
class Representation < Google::Apis::Core::JsonRepresentation; end
87+
88+
include Google::Apis::Core::JsonObjectSupport
89+
end
90+
7991
class SynthesizeLongAudioRequest
8092
class Representation < Google::Apis::Core::JsonRepresentation; end
8193

@@ -138,6 +150,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
138150
end
139151
end
140152

153+
class GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata
154+
# @private
155+
class Representation < Google::Apis::Core::JsonRepresentation
156+
property :progress_percentage, as: 'progressPercentage'
157+
property :start_time, as: 'startTime'
158+
end
159+
end
160+
141161
class ListOperationsResponse
142162
# @private
143163
class Representation < Google::Apis::Core::JsonRepresentation
@@ -184,6 +204,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
184204
end
185205
end
186206

207+
class SynthesizeLongAudioMetadata
208+
# @private
209+
class Representation < Google::Apis::Core::JsonRepresentation
210+
property :progress_percentage, as: 'progressPercentage'
211+
property :start_time, as: 'startTime'
212+
end
213+
end
214+
187215
class SynthesizeLongAudioRequest
188216
# @private
189217
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)