Skip to content

Commit 0f7e8f0

Browse files
feat: Automated regeneration of texttospeech v1beta1 client (#13180)
Auto-created at 2023-01-04 17:48:25 +0000 using the toys pull request generator.
1 parent e0a6650 commit 0f7e8f0

File tree

4 files changed

+81
-3
lines changed

4 files changed

+81
-3
lines changed

generated/google-apis-texttospeech_v1beta1/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_v1beta1
22

3-
### v0.20.0 (2022-12-21)
3+
### v0.20.0 (2023-01-04)
44

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

77
### v0.19.0 (2022-12-04)
88

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,31 @@ def update!(**args)
118118
end
119119
end
120120

121+
# Metadata for response returned by the `SynthesizeLongAudio` method.
122+
class GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
123+
include Google::Apis::Core::Hashable
124+
125+
# The progress of the most recent processing update in percentage, ie. 70.0%.
126+
# Corresponds to the JSON property `progressPercentage`
127+
# @return [Float]
128+
attr_accessor :progress_percentage
129+
130+
# Time when the request was received.
131+
# Corresponds to the JSON property `startTime`
132+
# @return [String]
133+
attr_accessor :start_time
134+
135+
def initialize(**args)
136+
update!(**args)
137+
end
138+
139+
# Update properties of this object
140+
def update!(**args)
141+
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
142+
@start_time = args[:start_time] if args.key?(:start_time)
143+
end
144+
end
145+
121146
# The response message for Operations.ListOperations.
122147
class ListOperationsResponse
123148
include Google::Apis::Core::Hashable
@@ -293,6 +318,31 @@ def update!(**args)
293318
end
294319
end
295320

321+
# Metadata for response returned by the `SynthesizeLongAudio` method.
322+
class SynthesizeLongAudioMetadata
323+
include Google::Apis::Core::Hashable
324+
325+
# The progress of the most recent processing update in percentage, ie. 70.0%.
326+
# Corresponds to the JSON property `progressPercentage`
327+
# @return [Float]
328+
attr_accessor :progress_percentage
329+
330+
# Time when the request was received.
331+
# Corresponds to the JSON property `startTime`
332+
# @return [String]
333+
attr_accessor :start_time
334+
335+
def initialize(**args)
336+
update!(**args)
337+
end
338+
339+
# Update properties of this object
340+
def update!(**args)
341+
@progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage)
342+
@start_time = args[:start_time] if args.key?(:start_time)
343+
end
344+
end
345+
296346
# The top-level message sent by the client for the `SynthesizeLongAudio` method.
297347
class SynthesizeLongAudioRequest
298348
include Google::Apis::Core::Hashable

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module TexttospeechV1beta1
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_v1beta1/lib/google/apis/texttospeech_v1beta1/representations.rb

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
3434
include Google::Apis::Core::JsonObjectSupport
3535
end
3636

37+
class GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
38+
class Representation < Google::Apis::Core::JsonRepresentation; end
39+
40+
include Google::Apis::Core::JsonObjectSupport
41+
end
42+
3743
class ListOperationsResponse
3844
class Representation < Google::Apis::Core::JsonRepresentation; end
3945

@@ -64,6 +70,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
6470
include Google::Apis::Core::JsonObjectSupport
6571
end
6672

73+
class SynthesizeLongAudioMetadata
74+
class Representation < Google::Apis::Core::JsonRepresentation; end
75+
76+
include Google::Apis::Core::JsonObjectSupport
77+
end
78+
6779
class SynthesizeLongAudioRequest
6880
class Representation < Google::Apis::Core::JsonRepresentation; end
6981

@@ -120,6 +132,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
120132
end
121133
end
122134

135+
class GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
136+
# @private
137+
class Representation < Google::Apis::Core::JsonRepresentation
138+
property :progress_percentage, as: 'progressPercentage'
139+
property :start_time, as: 'startTime'
140+
end
141+
end
142+
123143
class ListOperationsResponse
124144
# @private
125145
class Representation < Google::Apis::Core::JsonRepresentation
@@ -166,6 +186,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
166186
end
167187
end
168188

189+
class SynthesizeLongAudioMetadata
190+
# @private
191+
class Representation < Google::Apis::Core::JsonRepresentation
192+
property :progress_percentage, as: 'progressPercentage'
193+
property :start_time, as: 'startTime'
194+
end
195+
end
196+
169197
class SynthesizeLongAudioRequest
170198
# @private
171199
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)