google-cloud-text_to_speech-v1beta1 0.5.0 → 0.6.0
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 +7 -6
- data/lib/google/cloud/text_to_speech/v1beta1/version.rb +1 -1
- data/lib/google/cloud/texttospeech/v1beta1/cloud_tts_pb.rb +1 -0
- data/lib/google/cloud/texttospeech/v1beta1/cloud_tts_services_pb.rb +1 -1
- data/proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb +11 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f956d3c94f4b9717fbf1f06cfd3b79b862c2c477bb632543cf54fd23e5fe962
|
4
|
+
data.tar.gz: 55ca0190c1a50e9c9f1afbc6fdb8d24b3d53838ab4de40ea6803d96af9c1f793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz: '
|
6
|
+
metadata.gz: 26a0bb3d8c11a0d1299f2aae6d8074f5adcc9fe981740be136a7c0fec72cd82a91b52d569aa2ee3a02463ad04be88c45eca3ac0ded1a603ce132591b4a1fa758
|
7
|
+
data.tar.gz: '070794312482de11b0b47c3f0056753f2d6ad245652185e627fe5a538f91153d445e4c48e2627f57dbfebf2e5c56f6c1c275d816beb4742bce93396fbdc93b86'
|
@@ -176,13 +176,14 @@ module Google
|
|
176
176
|
#
|
177
177
|
# @param language_code [::String]
|
178
178
|
# Optional. Recommended.
|
179
|
-
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
180
|
-
# specified, the
|
181
|
-
#
|
182
|
-
#
|
179
|
+
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
180
|
+
# If not specified, the API will return all supported voices.
|
181
|
+
# If specified, the ListVoices call will only return voices that can be used
|
182
|
+
# to synthesize this language_code. E.g. when specifying "en-NZ", you will
|
183
|
+
# get supported "en-NZ" voices; when specifying "no", you will get supported
|
183
184
|
# "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
|
184
185
|
# will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
|
185
|
-
# supported "yue
|
186
|
+
# supported "yue-hk" voices.
|
186
187
|
#
|
187
188
|
# @yield [response, operation] Access the result along with the RPC operation
|
188
189
|
# @yieldparam response [::Google::Cloud::TextToSpeech::V1beta1::ListVoicesResponse]
|
@@ -249,7 +250,7 @@ module Google
|
|
249
250
|
# @param audio_config [::Google::Cloud::TextToSpeech::V1beta1::AudioConfig, ::Hash]
|
250
251
|
# Required. The configuration of the synthesized audio.
|
251
252
|
# @param enable_time_pointing [::Array<::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest::TimepointType>]
|
252
|
-
# Whether and what timepoints
|
253
|
+
# Whether and what timepoints are returned in the response.
|
253
254
|
#
|
254
255
|
# @yield [response, operation] Access the result along with the RPC operation
|
255
256
|
# @yieldparam response [::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechResponse]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/cloud/texttospeech/v1beta1/cloud_tts.proto for package 'Google.Cloud.TextToSpeech.V1beta1'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2021 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -25,13 +25,14 @@ module Google
|
|
25
25
|
# @!attribute [rw] language_code
|
26
26
|
# @return [::String]
|
27
27
|
# Optional. Recommended.
|
28
|
-
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
29
|
-
# specified, the
|
30
|
-
#
|
31
|
-
#
|
28
|
+
# [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
|
29
|
+
# If not specified, the API will return all supported voices.
|
30
|
+
# If specified, the ListVoices call will only return voices that can be used
|
31
|
+
# to synthesize this language_code. E.g. when specifying "en-NZ", you will
|
32
|
+
# get supported "en-NZ" voices; when specifying "no", you will get supported
|
32
33
|
# "no-\*" (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh"
|
33
34
|
# will also get supported "cmn-\*" voices; specifying "zh-hk" will also get
|
34
|
-
# supported "yue
|
35
|
+
# supported "yue-hk" voices.
|
35
36
|
class ListVoicesRequest
|
36
37
|
include ::Google::Protobuf::MessageExts
|
37
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -78,7 +79,7 @@ module Google
|
|
78
79
|
# Required. The configuration of the synthesized audio.
|
79
80
|
# @!attribute [rw] enable_time_pointing
|
80
81
|
# @return [::Array<::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest::TimepointType>]
|
81
|
-
# Whether and what timepoints
|
82
|
+
# Whether and what timepoints are returned in the response.
|
82
83
|
class SynthesizeSpeechRequest
|
83
84
|
include ::Google::Protobuf::MessageExts
|
84
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -266,6 +267,10 @@ module Google
|
|
266
267
|
# 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
|
267
268
|
# Audio content returned as MULAW also contains a WAV header.
|
268
269
|
MULAW = 5
|
270
|
+
|
271
|
+
# 8-bit samples that compand 14-bit audio samples using G.711 PCMU/A-law.
|
272
|
+
# Audio content returned as ALAW also contains a WAV header.
|
273
|
+
ALAW = 6
|
269
274
|
end
|
270
275
|
end
|
271
276
|
end
|
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.
|
4
|
+
version: 0.6.0
|
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-
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-cloud-errors
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|