google-apis-texttospeech_v1 0.13.0 → 0.16.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: cb3a7866084f0dd0ce151d83962ab756394db617121782faae29f7e26345a3e5
4
- data.tar.gz: c783029e260b3255cfcb43ec3445ee861ecd6c1b955f640cca3871d761a143b0
3
+ metadata.gz: 4ae8c292256391ff391e82860980005292787cac1100e52750b9afdb98e8fbc6
4
+ data.tar.gz: 1317edf792faaaf1505fd417b0db26bb56f0e004266e9c9e935554a35bb8faf1
5
5
  SHA512:
6
- metadata.gz: 3d13b43b189c4bfbe397c551c7af1ba34a76d93b2a7fe1c9b93e67f88e1a3d07624d3dcd14af348b6b14820092b52d9a02d9cc6d6f32577a905ccb31d7c95f90
7
- data.tar.gz: f31156beed04ec87d8027c1d16f1451c77d5e3285ccc52f749883bee35e414c152abfdd412448f252cb67334345262b9408ed3b803d191a48e712bf99fac0f0c
6
+ metadata.gz: 57f04b7c801ee03a484fec7f1b611fdc98a4d60c5338b7d6b793f558026188ed3feb74fff82afee03d424d95b9cf67155c622b05c424f720e32ba84c6e577047
7
+ data.tar.gz: 6397cd2dcb4c7afa58e9eeaf95e5ca05ce03d331956ca6484f8bb800c65bd246f506a40966b645795130c6605843392df1172164f21d428abe6e9e150c88250d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-texttospeech_v1
2
2
 
3
+ ### v0.16.0 (2022-06-18)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.15.0 (2022-06-06)
8
+
9
+ * Regenerated using generator version 0.5.0
10
+
11
+ ### v0.14.0 (2022-03-22)
12
+
13
+ * Regenerated from discovery document revision 20220311
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.13.0 (2022-01-11)
4
17
 
5
18
  * Regenerated from discovery document revision 20220103
@@ -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
@@ -241,6 +266,11 @@ module Google
241
266
  class VoiceSelectionParams
242
267
  include Google::Apis::Core::Hashable
243
268
 
269
+ # Description of the custom voice to be synthesized.
270
+ # Corresponds to the JSON property `customVoice`
271
+ # @return [Google::Apis::TexttospeechV1::CustomVoiceParams]
272
+ attr_accessor :custom_voice
273
+
244
274
  # Required. The language (and potentially also the region) of the voice
245
275
  # expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language
246
276
  # tag, e.g. "en-US". This should not include a script tag (e.g. use "cmn-cn"
@@ -276,6 +306,7 @@ module Google
276
306
 
277
307
  # Update properties of this object
278
308
  def update!(**args)
309
+ @custom_voice = args[:custom_voice] if args.key?(:custom_voice)
279
310
  @language_code = args[:language_code] if args.key?(:language_code)
280
311
  @name = args[:name] if args.key?(:name)
281
312
  @ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module TexttospeechV1
18
18
  # Version of the google-apis-texttospeech_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220103"
25
+ REVISION = "20220311"
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
 
@@ -76,6 +82,14 @@ module Google
76
82
  end
77
83
  end
78
84
 
85
+ class CustomVoiceParams
86
+ # @private
87
+ class Representation < Google::Apis::Core::JsonRepresentation
88
+ property :model, as: 'model'
89
+ property :reported_usage, as: 'reportedUsage'
90
+ end
91
+ end
92
+
79
93
  class ListVoicesResponse
80
94
  # @private
81
95
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -124,6 +138,8 @@ module Google
124
138
  class VoiceSelectionParams
125
139
  # @private
126
140
  class Representation < Google::Apis::Core::JsonRepresentation
141
+ property :custom_voice, as: 'customVoice', class: Google::Apis::TexttospeechV1::CustomVoiceParams, decorator: Google::Apis::TexttospeechV1::CustomVoiceParams::Representation
142
+
127
143
  property :language_code, as: 'languageCode'
128
144
  property :name, as: 'name'
129
145
  property :ssml_gender, as: 'ssmlGender'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-texttospeech_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.16.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: 2022-01-17 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -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.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Text-to-Speech API V1