google-cloud-text_to_speech-v1beta1 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb487510f962673ad23d8d1848f70f1123ef38200e00b0c069b186b454898d7f
4
- data.tar.gz: '093af08eed710febc918104cb50cd3941c6e68dc9e05f1a21f2a2f457e9504e3'
3
+ metadata.gz: c08f170eb3ebf2568108d4c70a535f00a42735d0bea20a54e29bec9ec4a25a2b
4
+ data.tar.gz: 0db345725c656fbe3310a5d2034522e0256afc656f1c2a94b765e3b43fb517ea
5
5
  SHA512:
6
- metadata.gz: 7ea0372cf4fafc40edf0a4c4085951dc1124379094abc46e0d0e31912d5193a12122c00af340b7a0343ef8976c9ea8b16d6528793ff14722dc5400e40dcf97c8
7
- data.tar.gz: dbbbadbdb3442fc6d9b9fa2136a4be13eb1c9be4a3421c837edad3f7b4276895c59dad101b272f515fa4ce2ce128baa45faa920818fa46b57f460439cd16b66c
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TextToSpeech
23
23
  module V1beta1
24
- VERSION = "0.6.3"
24
+ VERSION = "0.6.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/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
@@ -27,7 +27,7 @@ module Google
27
27
  # Service that implements Google Cloud Text-to-Speech API.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
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 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