google-cloud-text_to_speech-v1 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/text_to_speech/v1/text_to_speech/client.rb +2 -2
- data/lib/google/cloud/text_to_speech/v1/text_to_speech/rest/client.rb +2 -2
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/client.rb +6 -5
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/operations.rb +2 -2
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/rest/client.rb +6 -5
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/rest/operations.rb +2 -2
- data/lib/google/cloud/text_to_speech/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb +4 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa7f6f2a86521c8e8089dd985a5fecad6785228ac2c9b89247c8faea1d4508ad
|
4
|
+
data.tar.gz: f2b043a9b322a92f0469512889d67880f47a02eb2bb89ce7da4d7f2e7eaec99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15fb8a03fb26f35041efab9c8b757c43191978cd8d554e4eef38b904064e6e2569cabbceaf06a2fb42e3753a39f283fd6c23dc4deb2b6938748df6a7ebce0339
|
7
|
+
data.tar.gz: 29739d92bbf55df833b73c5a12dfb6696a2d38a3844f3b60d7054b916e2e90fa62d9f37daa96f7612912b550ac7e350de09fcf25a58c52cf52d1e2bd9289c847
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Cloud Text-to-Speech V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Synthesizes natural-sounding speech by applying powerful neural network models.
|
4
4
|
|
5
5
|
Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.
|
6
6
|
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -353,9 +353,9 @@ module Google
|
|
353
353
|
# * (`String`) The path to a service account key file in JSON format
|
354
354
|
# * (`Hash`) A service account key as a Hash
|
355
355
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
356
|
-
# (see the [googleauth docs](https://
|
356
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
357
357
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
358
|
-
# (see the [signet docs](https://
|
358
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
359
359
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
360
360
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
361
361
|
# * (`nil`) indicating no credentials
|
@@ -314,9 +314,9 @@ module Google
|
|
314
314
|
# * (`String`) The path to a service account key file in JSON format
|
315
315
|
# * (`Hash`) A service account key as a Hash
|
316
316
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
317
|
-
# (see the [googleauth docs](https://
|
317
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
318
318
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
319
|
-
# (see the [signet docs](https://
|
319
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
320
320
|
# * (`nil`) indicating no credentials
|
321
321
|
# @return [::Object]
|
322
322
|
# @!attribute [rw] scope
|
@@ -179,17 +179,18 @@ module Google
|
|
179
179
|
#
|
180
180
|
# @param parent [::String]
|
181
181
|
# The resource states of the request in the form of
|
182
|
-
# `projects/*/locations
|
182
|
+
# `projects/*/locations/*`.
|
183
183
|
# @param input [::Google::Cloud::TextToSpeech::V1::SynthesisInput, ::Hash]
|
184
184
|
# Required. The Synthesizer requires either plain text or SSML as input.
|
185
|
+
# While Long Audio is in preview, SSML is temporarily unsupported.
|
185
186
|
# @param audio_config [::Google::Cloud::TextToSpeech::V1::AudioConfig, ::Hash]
|
186
187
|
# Required. The configuration of the synthesized audio.
|
187
188
|
# @param output_gcs_uri [::String]
|
188
|
-
# Specifies a Cloud Storage URI for the synthesis results. Must be
|
189
|
+
# Required. Specifies a Cloud Storage URI for the synthesis results. Must be
|
189
190
|
# specified in the format: `gs://bucket_name/object_name`, and the bucket
|
190
191
|
# must already exist.
|
191
192
|
# @param voice [::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams, ::Hash]
|
192
|
-
# The desired voice of the synthesized audio.
|
193
|
+
# Required. The desired voice of the synthesized audio.
|
193
194
|
#
|
194
195
|
# @yield [response, operation] Access the result along with the RPC operation
|
195
196
|
# @yieldparam response [::Gapic::Operation]
|
@@ -301,9 +302,9 @@ module Google
|
|
301
302
|
# * (`String`) The path to a service account key file in JSON format
|
302
303
|
# * (`Hash`) A service account key as a Hash
|
303
304
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
304
|
-
# (see the [googleauth docs](https://
|
305
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
305
306
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
306
|
-
# (see the [signet docs](https://
|
307
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
307
308
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
308
309
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
309
310
|
# * (`nil`) indicating no credentials
|
@@ -620,9 +620,9 @@ module Google
|
|
620
620
|
# * (`String`) The path to a service account key file in JSON format
|
621
621
|
# * (`Hash`) A service account key as a Hash
|
622
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
623
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
624
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
625
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
626
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
627
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
628
628
|
# * (`nil`) indicating no credentials
|
@@ -170,17 +170,18 @@ module Google
|
|
170
170
|
#
|
171
171
|
# @param parent [::String]
|
172
172
|
# The resource states of the request in the form of
|
173
|
-
# `projects/*/locations
|
173
|
+
# `projects/*/locations/*`.
|
174
174
|
# @param input [::Google::Cloud::TextToSpeech::V1::SynthesisInput, ::Hash]
|
175
175
|
# Required. The Synthesizer requires either plain text or SSML as input.
|
176
|
+
# While Long Audio is in preview, SSML is temporarily unsupported.
|
176
177
|
# @param audio_config [::Google::Cloud::TextToSpeech::V1::AudioConfig, ::Hash]
|
177
178
|
# Required. The configuration of the synthesized audio.
|
178
179
|
# @param output_gcs_uri [::String]
|
179
|
-
# Specifies a Cloud Storage URI for the synthesis results. Must be
|
180
|
+
# Required. Specifies a Cloud Storage URI for the synthesis results. Must be
|
180
181
|
# specified in the format: `gs://bucket_name/object_name`, and the bucket
|
181
182
|
# must already exist.
|
182
183
|
# @param voice [::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams, ::Hash]
|
183
|
-
# The desired voice of the synthesized audio.
|
184
|
+
# Required. The desired voice of the synthesized audio.
|
184
185
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
185
186
|
# @yieldparam result [::Gapic::Operation]
|
186
187
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -262,9 +263,9 @@ module Google
|
|
262
263
|
# * (`String`) The path to a service account key file in JSON format
|
263
264
|
# * (`Hash`) A service account key as a Hash
|
264
265
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
265
|
-
# (see the [googleauth docs](https://
|
266
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
266
267
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
267
|
-
# (see the [signet docs](https://
|
268
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
268
269
|
# * (`nil`) indicating no credentials
|
269
270
|
# @return [::Object]
|
270
271
|
# @!attribute [rw] scope
|
data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/rest/operations.rb
CHANGED
@@ -411,9 +411,9 @@ module Google
|
|
411
411
|
# * (`String`) The path to a service account key file in JSON format
|
412
412
|
# * (`Hash`) A service account key as a Hash
|
413
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
414
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
416
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
417
|
# * (`nil`) indicating no credentials
|
418
418
|
# @return [::Object]
|
419
419
|
# @!attribute [rw] scope
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -26,21 +26,22 @@ module Google
|
|
26
26
|
# @!attribute [rw] parent
|
27
27
|
# @return [::String]
|
28
28
|
# The resource states of the request in the form of
|
29
|
-
# `projects/*/locations
|
29
|
+
# `projects/*/locations/*`.
|
30
30
|
# @!attribute [rw] input
|
31
31
|
# @return [::Google::Cloud::TextToSpeech::V1::SynthesisInput]
|
32
32
|
# Required. The Synthesizer requires either plain text or SSML as input.
|
33
|
+
# While Long Audio is in preview, SSML is temporarily unsupported.
|
33
34
|
# @!attribute [rw] audio_config
|
34
35
|
# @return [::Google::Cloud::TextToSpeech::V1::AudioConfig]
|
35
36
|
# Required. The configuration of the synthesized audio.
|
36
37
|
# @!attribute [rw] output_gcs_uri
|
37
38
|
# @return [::String]
|
38
|
-
# Specifies a Cloud Storage URI for the synthesis results. Must be
|
39
|
+
# Required. Specifies a Cloud Storage URI for the synthesis results. Must be
|
39
40
|
# specified in the format: `gs://bucket_name/object_name`, and the bucket
|
40
41
|
# must already exist.
|
41
42
|
# @!attribute [rw] voice
|
42
43
|
# @return [::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams]
|
43
|
-
# The desired voice of the synthesized audio.
|
44
|
+
# Required. The desired voice of the synthesized audio.
|
44
45
|
class SynthesizeLongAudioRequest
|
45
46
|
include ::Google::Protobuf::MessageExts
|
46
47
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-text_to_speech-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -229,5 +229,5 @@ requirements: []
|
|
229
229
|
rubygems_version: 3.4.2
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
|
-
summary:
|
232
|
+
summary: Synthesizes natural-sounding speech by applying powerful neural network models.
|
233
233
|
test_files: []
|