google-cloud-text_to_speech-v1beta1 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/text_to_speech/v1beta1/text_to_speech/client.rb +30 -0
- data/lib/google/cloud/text_to_speech/v1beta1/version.rb +1 -1
- data/lib/google/cloud/texttospeech/v1beta1/cloud_tts_pb.rb +2 -2
- data/lib/google/cloud/texttospeech/v1beta1/cloud_tts_services_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c08f170eb3ebf2568108d4c70a535f00a42735d0bea20a54e29bec9ec4a25a2b
|
|
4
|
+
data.tar.gz: 0db345725c656fbe3310a5d2034522e0256afc656f1c2a94b765e3b43fb517ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4c3f45076d43b93f43acb78c80682f8a856b3da58133336c77691fe455a503b3e880d4488776f8d3e81fa8f1f70daa0cbbd8ae3cc2f51a44d29501fd6c5a8da
|
|
7
|
+
data.tar.gz: 2c0de7b050aed3c50b7c8b6f44d921fc568d3f0660e79707b7c2bd55f9355da06bee1f945a4d4ddfab637843427240c59488f6ee2e7641d0d19e2dc8026ce5ab
|
|
@@ -184,6 +184,21 @@ module Google
|
|
|
184
184
|
#
|
|
185
185
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
186
186
|
#
|
|
187
|
+
# @example Basic example
|
|
188
|
+
# require "google/cloud/text_to_speech/v1beta1"
|
|
189
|
+
#
|
|
190
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
191
|
+
# client = Google::Cloud::TextToSpeech::V1beta1::TextToSpeech::Client.new
|
|
192
|
+
#
|
|
193
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
194
|
+
# request = Google::Cloud::TextToSpeech::V1beta1::ListVoicesRequest.new
|
|
195
|
+
#
|
|
196
|
+
# # Call the list_voices method.
|
|
197
|
+
# result = client.list_voices request
|
|
198
|
+
#
|
|
199
|
+
# # The returned object is of type Google::Cloud::TextToSpeech::V1beta1::ListVoicesResponse.
|
|
200
|
+
# p result
|
|
201
|
+
#
|
|
187
202
|
def list_voices request, options = nil
|
|
188
203
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
189
204
|
|
|
@@ -253,6 +268,21 @@ module Google
|
|
|
253
268
|
#
|
|
254
269
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
255
270
|
#
|
|
271
|
+
# @example Basic example
|
|
272
|
+
# require "google/cloud/text_to_speech/v1beta1"
|
|
273
|
+
#
|
|
274
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
275
|
+
# client = Google::Cloud::TextToSpeech::V1beta1::TextToSpeech::Client.new
|
|
276
|
+
#
|
|
277
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
278
|
+
# request = Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest.new
|
|
279
|
+
#
|
|
280
|
+
# # Call the synthesize_speech method.
|
|
281
|
+
# result = client.synthesize_speech request
|
|
282
|
+
#
|
|
283
|
+
# # The returned object is of type Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechResponse.
|
|
284
|
+
# p result
|
|
285
|
+
#
|
|
256
286
|
def synthesize_speech request, options = nil
|
|
257
287
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
258
288
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/texttospeech/v1beta1/cloud_tts.proto
|
|
3
3
|
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
4
|
require 'google/api/annotations_pb'
|
|
7
5
|
require 'google/api/client_pb'
|
|
8
6
|
require 'google/api/field_behavior_pb'
|
|
7
|
+
require 'google/protobuf'
|
|
8
|
+
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
10
|
add_file("google/cloud/texttospeech/v1beta1/cloud_tts.proto", :syntax => :proto3) do
|
|
11
11
|
add_message "google.cloud.texttospeech.v1beta1.ListVoicesRequest" do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-text_to_speech-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08
|
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|