google-apis-texttospeech_v1 0.13.0 → 0.14.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: 90d8e2eeada8532f475833e58849021e89ff220e3497db8c17482b61d478cb82
4
+ data.tar.gz: 0cdf1a316bbbe8ae2db741f4d435b73d06827c8c001f8ee336d23956ca3bebfe
5
5
  SHA512:
6
- metadata.gz: 3d13b43b189c4bfbe397c551c7af1ba34a76d93b2a7fe1c9b93e67f88e1a3d07624d3dcd14af348b6b14820092b52d9a02d9cc6d6f32577a905ccb31d7c95f90
7
- data.tar.gz: f31156beed04ec87d8027c1d16f1451c77d5e3285ccc52f749883bee35e414c152abfdd412448f252cb67334345262b9408ed3b803d191a48e712bf99fac0f0c
6
+ metadata.gz: be4c8ae35ae4a1178dfea07ae5bd268fac7a3fc88ca5f752b07c89277de0b762ddeb27973b064437b25292300f40548906aacf24d3948d4023ed7c61da6b5f8b
7
+ data.tar.gz: 54e49bd99d61772addc1c7925fe7adf234d41fbecfe57da6b044b35ddaf427ced9696c61e26b54c1cee7f76086573bbe1a2bfcd79eafd609b932e8ff6aca2333
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-texttospeech_v1
2
2
 
3
+ ### v0.14.0 (2022-03-22)
4
+
5
+ * Regenerated from discovery document revision 20220311
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.13.0 (2022-01-11)
4
9
 
5
10
  * 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.14.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.4.1"
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.14.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-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.14.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: []