google-apis-texttospeech_v1beta1 0.8.0 → 0.12.0

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: e3ecd9e1e7167bff462e5520f9efe8662334bfd9b538774a64506c5582d2025d
4
- data.tar.gz: 6413813c6c282bb512ed4d1c43b38d1681d6fc2dffb4901edd6bce86428ccf65
3
+ metadata.gz: 4a671b4937277b1ef8a7a9d7a8271abaaaaabb2dcd72a2cdee45ec8648ff1be0
4
+ data.tar.gz: d2fbc8e403d70d366157431bcc2e48594220f0ac514106b9d2e5c23a09428c0b
5
5
  SHA512:
6
- metadata.gz: d0248b938baaae12391eb28fe869b5a3deeaee36d92db4fb10570aba095e4d22e28c1ffbc1ebb442f670928bf0cf68556d8608253d0f1b28134f12a15e554a74
7
- data.tar.gz: 23662f37e20c7a7064442ba3740c9616c55d4e5355fbd8bf4ea3a860a52bc5f959361e1a384c325d12e8064f4c951713bb73137b99a64262df1d8cbf44d3945a
6
+ metadata.gz: 3a8dd18057559f5c3da8ff4ad795f1e6b9639582a6e7f51881f44353c23653b02d44c09b7f0d35d103dad6d27542cd5e3a05b7b2c1c9ee2dc741ecbf6b8d0286
7
+ data.tar.gz: 551938c4ec3ad56609c930216ccd0fec47669796336db37003d69cf6f86eb4397a1035211740b4dfe09ab14e7367fb716e0c38b2a17a5d9802a1624d2bb61dc7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-texttospeech_v1beta1
2
2
 
3
+ ### v0.12.0 (2021-12-07)
4
+
5
+ * Regenerated from discovery document revision 20211130
6
+
7
+ ### v0.11.0 (2021-11-16)
8
+
9
+ * Regenerated from discovery document revision 20211105
10
+
11
+ ### v0.10.0 (2021-10-23)
12
+
13
+ * Regenerated from discovery document revision 20211015
14
+ * Unspecified changes
15
+
16
+ ### v0.9.0 (2021-08-20)
17
+
18
+ * Regenerated from discovery document revision 20210813
19
+
3
20
  ### v0.8.0 (2021-06-29)
4
21
 
5
22
  * Regenerated using generator version 0.4.0
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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.8.0"
19
+ GEM_VERSION = "0.12.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 = "20210528"
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. E.g. when specifying "en-NZ", you will get
89
- # supported "en-NZ" voices; when specifying "no", you will get supported "no-\*"
90
- # (Norwegian) and "nb-\*" (Norwegian Bokmal) voices; specifying "zh" will also
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
@@ -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 Platform data
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,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.8.0
4
+ version: 0.12.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-12-13 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/master/generated/google-apis-texttospeech_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1beta1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-texttospeech_v1beta1
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.12.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: