google-apis-texttospeech_v1beta1 0.6.0 → 0.10.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 +2 -2
- data/lib/google/apis/texttospeech_v1beta1/classes.rb +31 -0
- data/lib/google/apis/texttospeech_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/texttospeech_v1beta1/representations.rb +16 -0
- data/lib/google/apis/texttospeech_v1beta1.rb +1 -1
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12d7966757c1a66cb27f1f2cd0657b7eecdcb6c3943fbb28a4a4f7c3546256b3
|
4
|
+
data.tar.gz: 56dfa141a0b4914118fc83ef46e05fdaaa57783fedd0c6f28471256561572b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a10f03c4fca2e502254a1d05021fcea59289f35175169baa3b2d5f9ca7600175f8c8edd754e572c99879828aea8e99c36bf4238140e6d743afb2985f7d6b7b
|
7
|
+
data.tar.gz: 35d2d8d549c5e03c240f751e1084ca71c38ac31c4f8af3591857f74b994f740b43951a65ab5fa8682b888338f1ffecbacf2d6ac1c70ed8854dcd483b44ffc2a0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-texttospeech_v1beta1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-10-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.9.0 (2021-08-20)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210813
|
11
|
+
|
12
|
+
### v0.8.0 (2021-06-29)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.4.0
|
15
|
+
|
16
|
+
### v0.7.0 (2021-06-24)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.6.0 (2021-06-09)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210528
|
data/OVERVIEW.md
CHANGED
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211015"
|
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'
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.10.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Text-to-Speech API V1beta1.
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -51,9 +57,9 @@ licenses:
|
|
51
57
|
- Apache-2.0
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1beta1/v0.
|
56
|
-
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.10.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
59
65
|
require_paths:
|