google-apis-texttospeech_v1beta1 0.9.0 → 0.10.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: 94c1cec0b222afc92ba9d1e1739514afaaf1d67c6220264fe50d2a1accc873dc
4
- data.tar.gz: 2dad1c69439f47532edc6499d2d75448fdd2e9b7494551f8d704b2d9ca99ff24
3
+ metadata.gz: 12d7966757c1a66cb27f1f2cd0657b7eecdcb6c3943fbb28a4a4f7c3546256b3
4
+ data.tar.gz: 56dfa141a0b4914118fc83ef46e05fdaaa57783fedd0c6f28471256561572b65
5
5
  SHA512:
6
- metadata.gz: 6fc471d6ef30b211577efda9fb9ac920867b1165efdb248d9e7b90e8759bce2cb0464b2c5ccba043573598ead4a00ee2f19fc06032b2a9014d455d5093cc0e42
7
- data.tar.gz: 486540a247ab11f6e89a53ba2326343da58abc9486fbcd657985591886abacdd599aaf526ce92359de9d68c32d38f1de326d767aac80b44ed4270a20dfcba537
6
+ metadata.gz: a7a10f03c4fca2e502254a1d05021fcea59289f35175169baa3b2d5f9ca7600175f8c8edd754e572c99879828aea8e99c36bf4238140e6d743afb2985f7d6b7b
7
+ data.tar.gz: 35d2d8d549c5e03c240f751e1084ca71c38ac31c4f8af3591857f74b994f740b43951a65ab5fa8682b888338f1ffecbacf2d6ac1c70ed8854dcd483b44ffc2a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.9.0 (2021-08-20)
4
9
 
5
10
  * Regenerated from discovery document revision 20210813
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.9.0"
19
+ GEM_VERSION = "0.10.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 = "20210813"
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'
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.9.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-08-23 00:00:00.000000000 Z
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
@@ -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.9.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.10.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: