google-apis-texttospeech_v1beta1 0.43.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3b4404abf624a71190fea3cf80b02744db7e476313268e3de321217f73014d3
|
|
4
|
+
data.tar.gz: 5a74c69df08cd618eea54a80e7c565bc97a3f00926855e3390ba2bd4fe38f5ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d8f506312aeb9bfbd15cb71e9c016fdc6bfbbca8df93e13668db117d8efd4eb714e12200edaf2ac2ed3dbe03d394af0f1afb7b0ea091b82be336382dfaa511e
|
|
7
|
+
data.tar.gz: bd28d8f3dd1823513ab53edb58e90dce1cc3b52714e9fdde62079e7e11f83a20f7eff85af35a45114f8af8dad1b516ed6acbba8b2091d981e5c87cf372c8981a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-texttospeech_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.45.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated using generator version 0.19.0
|
|
6
|
+
|
|
7
|
+
### v0.44.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260320
|
|
10
|
+
|
|
3
11
|
### v0.43.0 (2026-03-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260312
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/text-to-speech/) may provid
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -40,12 +40,18 @@ module Google
|
|
|
40
40
|
attr_accessor :low_latency_journey_synthesis
|
|
41
41
|
alias_method :low_latency_journey_synthesis?, :low_latency_journey_synthesis
|
|
42
42
|
|
|
43
|
-
# Optional. Input only.
|
|
43
|
+
# Optional. Input only. Deprecated, use safety_settings instead. If true,
|
|
44
|
+
# relaxes safety filters for Gemini TTS.
|
|
44
45
|
# Corresponds to the JSON property `relaxSafetyFilters`
|
|
45
46
|
# @return [Boolean]
|
|
46
47
|
attr_accessor :relax_safety_filters
|
|
47
48
|
alias_method :relax_safety_filters?, :relax_safety_filters
|
|
48
49
|
|
|
50
|
+
# Safety settings for the request.
|
|
51
|
+
# Corresponds to the JSON property `safetySettings`
|
|
52
|
+
# @return [Google::Apis::TexttospeechV1beta1::SafetySettings]
|
|
53
|
+
attr_accessor :safety_settings
|
|
54
|
+
|
|
49
55
|
def initialize(**args)
|
|
50
56
|
update!(**args)
|
|
51
57
|
end
|
|
@@ -55,6 +61,7 @@ module Google
|
|
|
55
61
|
@enable_textnorm = args[:enable_textnorm] if args.key?(:enable_textnorm)
|
|
56
62
|
@low_latency_journey_synthesis = args[:low_latency_journey_synthesis] if args.key?(:low_latency_journey_synthesis)
|
|
57
63
|
@relax_safety_filters = args[:relax_safety_filters] if args.key?(:relax_safety_filters)
|
|
64
|
+
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
|
58
65
|
end
|
|
59
66
|
end
|
|
60
67
|
|
|
@@ -420,6 +427,50 @@ module Google
|
|
|
420
427
|
end
|
|
421
428
|
end
|
|
422
429
|
|
|
430
|
+
# Safety setting for a single harm category.
|
|
431
|
+
class SafetySetting
|
|
432
|
+
include Google::Apis::Core::Hashable
|
|
433
|
+
|
|
434
|
+
# The harm category to apply the safety setting to.
|
|
435
|
+
# Corresponds to the JSON property `category`
|
|
436
|
+
# @return [String]
|
|
437
|
+
attr_accessor :category
|
|
438
|
+
|
|
439
|
+
# The harm block threshold for the safety setting.
|
|
440
|
+
# Corresponds to the JSON property `threshold`
|
|
441
|
+
# @return [String]
|
|
442
|
+
attr_accessor :threshold
|
|
443
|
+
|
|
444
|
+
def initialize(**args)
|
|
445
|
+
update!(**args)
|
|
446
|
+
end
|
|
447
|
+
|
|
448
|
+
# Update properties of this object
|
|
449
|
+
def update!(**args)
|
|
450
|
+
@category = args[:category] if args.key?(:category)
|
|
451
|
+
@threshold = args[:threshold] if args.key?(:threshold)
|
|
452
|
+
end
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# Safety settings for the request.
|
|
456
|
+
class SafetySettings
|
|
457
|
+
include Google::Apis::Core::Hashable
|
|
458
|
+
|
|
459
|
+
# The safety settings for the request.
|
|
460
|
+
# Corresponds to the JSON property `settings`
|
|
461
|
+
# @return [Array<Google::Apis::TexttospeechV1beta1::SafetySetting>]
|
|
462
|
+
attr_accessor :settings
|
|
463
|
+
|
|
464
|
+
def initialize(**args)
|
|
465
|
+
update!(**args)
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# Update properties of this object
|
|
469
|
+
def update!(**args)
|
|
470
|
+
@settings = args[:settings] if args.key?(:settings)
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
|
|
423
474
|
# The `Status` type defines a logical error model that is suitable for different
|
|
424
475
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
425
476
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -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.45.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260320"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -94,6 +94,18 @@ module Google
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
class SafetySetting
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class SafetySettings
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
97
109
|
class Status
|
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
111
|
|
|
@@ -166,6 +178,8 @@ module Google
|
|
|
166
178
|
property :enable_textnorm, as: 'enableTextnorm'
|
|
167
179
|
property :low_latency_journey_synthesis, as: 'lowLatencyJourneySynthesis'
|
|
168
180
|
property :relax_safety_filters, as: 'relaxSafetyFilters'
|
|
181
|
+
property :safety_settings, as: 'safetySettings', class: Google::Apis::TexttospeechV1beta1::SafetySettings, decorator: Google::Apis::TexttospeechV1beta1::SafetySettings::Representation
|
|
182
|
+
|
|
169
183
|
end
|
|
170
184
|
end
|
|
171
185
|
|
|
@@ -269,6 +283,22 @@ module Google
|
|
|
269
283
|
end
|
|
270
284
|
end
|
|
271
285
|
|
|
286
|
+
class SafetySetting
|
|
287
|
+
# @private
|
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
289
|
+
property :category, as: 'category'
|
|
290
|
+
property :threshold, as: 'threshold'
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
class SafetySettings
|
|
295
|
+
# @private
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
297
|
+
collection :settings, as: 'settings', class: Google::Apis::TexttospeechV1beta1::SafetySetting, decorator: Google::Apis::TexttospeechV1beta1::SafetySetting::Representation
|
|
298
|
+
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
|
|
272
302
|
class Status
|
|
273
303
|
# @private
|
|
274
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.45.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1beta1/v0.45.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|