google-cloud-text_to_speech-v1 0.4.3 → 0.4.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b52612dcfb4ba3199c8596153cbca71334c69d52a07ea33939a9f8d93ac3ca0
|
|
4
|
+
data.tar.gz: 12c76cf60d43375e2a7f76a464b570163eec4939328e926002e60f9478df0c7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d4d81c88f8c8a0e2e1d8501357b5f50e17fcbbc771687728b715a18520e180b6be4d758eae42e09517c4bc8d5a78837709b9dfe520d0d241f2ab3bf51dbd0f5
|
|
7
|
+
data.tar.gz: 698f4e12c3603d0e4865d75da9fc923a6680b9c85cd132e41004e2b3d0c92be9b3793d3d535271b22eb7ac813daf89c200b69dca20ffdda5a052ee48b5ab4078
|
|
@@ -188,6 +188,21 @@ module Google
|
|
|
188
188
|
#
|
|
189
189
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
190
190
|
#
|
|
191
|
+
# @example Basic example
|
|
192
|
+
# require "google/cloud/text_to_speech/v1"
|
|
193
|
+
#
|
|
194
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
195
|
+
# client = Google::Cloud::TextToSpeech::V1::TextToSpeech::Client.new
|
|
196
|
+
#
|
|
197
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
198
|
+
# request = Google::Cloud::TextToSpeech::V1::ListVoicesRequest.new
|
|
199
|
+
#
|
|
200
|
+
# # Call the list_voices method.
|
|
201
|
+
# result = client.list_voices request
|
|
202
|
+
#
|
|
203
|
+
# # The returned object is of type Google::Cloud::TextToSpeech::V1::ListVoicesResponse.
|
|
204
|
+
# p result
|
|
205
|
+
#
|
|
191
206
|
def list_voices request, options = nil
|
|
192
207
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
193
208
|
|
|
@@ -255,6 +270,21 @@ module Google
|
|
|
255
270
|
#
|
|
256
271
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
257
272
|
#
|
|
273
|
+
# @example Basic example
|
|
274
|
+
# require "google/cloud/text_to_speech/v1"
|
|
275
|
+
#
|
|
276
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
277
|
+
# client = Google::Cloud::TextToSpeech::V1::TextToSpeech::Client.new
|
|
278
|
+
#
|
|
279
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
280
|
+
# request = Google::Cloud::TextToSpeech::V1::SynthesizeSpeechRequest.new
|
|
281
|
+
#
|
|
282
|
+
# # Call the synthesize_speech method.
|
|
283
|
+
# result = client.synthesize_speech request
|
|
284
|
+
#
|
|
285
|
+
# # The returned object is of type Google::Cloud::TextToSpeech::V1::SynthesizeSpeechResponse.
|
|
286
|
+
# p result
|
|
287
|
+
#
|
|
258
288
|
def synthesize_speech request, options = nil
|
|
259
289
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
260
290
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# source: google/cloud/texttospeech/v1/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/v1/cloud_tts.proto", :syntax => :proto3) do
|
|
11
11
|
add_message "google.cloud.texttospeech.v1.ListVoicesRequest" do
|
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.4.
|
|
4
|
+
version: 0.4.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
|