google-apis-texttospeech_v1beta1 0.9.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/texttospeech_v1beta1/classes.rb +31 -0
- data/lib/google/apis/texttospeech_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/texttospeech_v1beta1/representations.rb +16 -0
- data/lib/google/apis/texttospeech_v1beta1/service.rb +3 -5
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18758b637c98d4987456ddde3fcb7563ba37cbab820542dd4939ce4465fc3922
|
4
|
+
data.tar.gz: 3bcaebfda3956cd902ebd6d528a527e79e5ac16a98f70998f74b0b964baafbdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc4e25d94a2e6ef80fd3db8bdaa96c8448400b07da20619340f47f0fa5167d20523ea4c7df1c943a0411d715187b9c8df7aa631800ef596a25e1898a5d3ec66e
|
7
|
+
data.tar.gz: e1eef4115f832cd5007e6c3acf2df503fc6fa92de5b7e3f7858dd7af4f77003c9e5331b7936e1626af2455dd4c47a0cfa33976866f6d1104ebd448b4698c8f69
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-texttospeech_v1beta1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.12.0 (2021-12-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211130
|
10
|
+
|
11
|
+
### v0.11.0 (2021-11-16)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211105
|
14
|
+
|
15
|
+
### v0.10.0 (2021-10-23)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211015
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.9.0 (2021-08-20)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210813
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/texttospeech_v1beta1"
|
|
51
51
|
client = Google::Apis::TexttospeechV1beta1::TexttospeechService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Texttospeech service in particular.)
|
67
67
|
|
@@ -93,6 +93,31 @@ module Google
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
+
# Description of the custom voice to be synthesized.
|
97
|
+
class CustomVoiceParams
|
98
|
+
include Google::Apis::Core::Hashable
|
99
|
+
|
100
|
+
# Required. The name of the AutoML model that synthesizes the custom voice.
|
101
|
+
# Corresponds to the JSON property `model`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :model
|
104
|
+
|
105
|
+
# Optional. The usage of the synthesized audio to be reported.
|
106
|
+
# Corresponds to the JSON property `reportedUsage`
|
107
|
+
# @return [String]
|
108
|
+
attr_accessor :reported_usage
|
109
|
+
|
110
|
+
def initialize(**args)
|
111
|
+
update!(**args)
|
112
|
+
end
|
113
|
+
|
114
|
+
# Update properties of this object
|
115
|
+
def update!(**args)
|
116
|
+
@model = args[:model] if args.key?(:model)
|
117
|
+
@reported_usage = args[:reported_usage] if args.key?(:reported_usage)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
96
121
|
# The message returned to the client by the `ListVoices` method.
|
97
122
|
class ListVoicesResponse
|
98
123
|
include Google::Apis::Core::Hashable
|
@@ -286,6 +311,11 @@ module Google
|
|
286
311
|
class VoiceSelectionParams
|
287
312
|
include Google::Apis::Core::Hashable
|
288
313
|
|
314
|
+
# Description of the custom voice to be synthesized.
|
315
|
+
# Corresponds to the JSON property `customVoice`
|
316
|
+
# @return [Google::Apis::TexttospeechV1beta1::CustomVoiceParams]
|
317
|
+
attr_accessor :custom_voice
|
318
|
+
|
289
319
|
# Required. The language (and potentially also the region) of the voice
|
290
320
|
# expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language
|
291
321
|
# tag, e.g. "en-US". This should not include a script tag (e.g. use "cmn-cn"
|
@@ -321,6 +351,7 @@ module Google
|
|
321
351
|
|
322
352
|
# Update properties of this object
|
323
353
|
def update!(**args)
|
354
|
+
@custom_voice = args[:custom_voice] if args.key?(:custom_voice)
|
324
355
|
@language_code = args[:language_code] if args.key?(:language_code)
|
325
356
|
@name = args[:name] if args.key?(:name)
|
326
357
|
@ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TexttospeechV1beta1
|
18
18
|
# Version of the google-apis-texttospeech_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class CustomVoiceParams
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class ListVoicesResponse
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -82,6 +88,14 @@ module Google
|
|
82
88
|
end
|
83
89
|
end
|
84
90
|
|
91
|
+
class CustomVoiceParams
|
92
|
+
# @private
|
93
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
+
property :model, as: 'model'
|
95
|
+
property :reported_usage, as: 'reportedUsage'
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
85
99
|
class ListVoicesResponse
|
86
100
|
# @private
|
87
101
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -143,6 +157,8 @@ module Google
|
|
143
157
|
class VoiceSelectionParams
|
144
158
|
# @private
|
145
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
160
|
+
property :custom_voice, as: 'customVoice', class: Google::Apis::TexttospeechV1beta1::CustomVoiceParams, decorator: Google::Apis::TexttospeechV1beta1::CustomVoiceParams::Representation
|
161
|
+
|
146
162
|
property :language_code, as: 'languageCode'
|
147
163
|
property :name, as: 'name'
|
148
164
|
property :ssml_gender, as: 'ssmlGender'
|
@@ -85,11 +85,9 @@ module Google
|
|
85
85
|
# Optional. Recommended. [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
|
86
86
|
# language tag. If not specified, the API will return all supported voices. If
|
87
87
|
# specified, the ListVoices call will only return voices that can be used to
|
88
|
-
# synthesize this language_code.
|
89
|
-
#
|
90
|
-
#
|
91
|
-
# get supported "cmn-\*" voices; specifying "zh-hk" will also get supported "yue-
|
92
|
-
# hk" voices.
|
88
|
+
# synthesize this language_code. For example, if you specify `"en-NZ"`, all `"en-
|
89
|
+
# NZ"` voices will be returned. If you specify `"no"`, both `"no-\*"` (Norwegian)
|
90
|
+
# and `"nb-\*"` (Norwegian Bokmal) voices will be returned.
|
93
91
|
# @param [String] fields
|
94
92
|
# Selector specifying which fields to include in a partial response.
|
95
93
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-texttospeech_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1beta1/v0.13.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Text-to-Speech API V1beta1
|