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: 680ab8572ed23898495839f6f2e17cce5a68f2d64ebb3e58ca0ba1751b20e5ad
4
- data.tar.gz: 9dd54c7cb8e649f8bb594035aae30a5a454e5078aff72f2e8a20700f264c63dd
3
+ metadata.gz: 4b52612dcfb4ba3199c8596153cbca71334c69d52a07ea33939a9f8d93ac3ca0
4
+ data.tar.gz: 12c76cf60d43375e2a7f76a464b570163eec4939328e926002e60f9478df0c7f
5
5
  SHA512:
6
- metadata.gz: 07656a7ed9e38189d9faeba0480ddc24ed614769a9f265c97b8a9d3cfbb07ce4cd81d78d21a916c7c41f75f30b0e76941a9e44314f30bbcd86596647fd0ad303
7
- data.tar.gz: 2e92d0610dd4fcd8afb14fabbc4bbeebc458f96be6b49992adc09203965b10203cb11628102f2920f26beced325eae0bb2b27d5de91cf2e2401ac7fbf638dbb7
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TextToSpeech
23
23
  module V1
24
- VERSION = "0.4.3"
24
+ VERSION = "0.4.4"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -28,7 +28,7 @@ module Google
28
28
  # Service that implements Google Cloud Text-to-Speech API.
29
29
  class Service
30
30
 
31
- include GRPC::GenericService
31
+ include ::GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
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.3
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 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common