google-apis-texttospeech_v1 0.46.0 → 0.48.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: 4957a2b52aab661a957c05520b3d022a596c9635f545050b51ae9303191270e2
|
|
4
|
+
data.tar.gz: 66dafdb50a831bcd14bfa1687781ba986f6bf4bd321f648cf46dc18f23e0495b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b465ff04b27e06239a6dc14c690e4530b9c10a7837d7d6e71d33c5f10461d28b6dbcb4b8e3a8112622cc70a2fb627cad17ad445f8dcab5324f67928d7ee1108
|
|
7
|
+
data.tar.gz: 585ec64993270a9f8200563ceb2df3e5024890149f88ac76fc5a523897eac71fc27a3d7adaa888ff4f2807f3ea423405e1add75b3e21aa30228c218918d74649
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-texttospeech_v1
|
|
2
2
|
|
|
3
|
+
### v0.48.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated using generator version 0.19.0
|
|
6
|
+
|
|
7
|
+
### v0.47.0 (2026-04-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260320
|
|
10
|
+
|
|
3
11
|
### v0.46.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::TexttospeechV1::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
|
|
|
@@ -449,6 +456,50 @@ module Google
|
|
|
449
456
|
end
|
|
450
457
|
end
|
|
451
458
|
|
|
459
|
+
# Safety setting for a single harm category.
|
|
460
|
+
class SafetySetting
|
|
461
|
+
include Google::Apis::Core::Hashable
|
|
462
|
+
|
|
463
|
+
# The harm category to apply the safety setting to.
|
|
464
|
+
# Corresponds to the JSON property `category`
|
|
465
|
+
# @return [String]
|
|
466
|
+
attr_accessor :category
|
|
467
|
+
|
|
468
|
+
# The harm block threshold for the safety setting.
|
|
469
|
+
# Corresponds to the JSON property `threshold`
|
|
470
|
+
# @return [String]
|
|
471
|
+
attr_accessor :threshold
|
|
472
|
+
|
|
473
|
+
def initialize(**args)
|
|
474
|
+
update!(**args)
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# Update properties of this object
|
|
478
|
+
def update!(**args)
|
|
479
|
+
@category = args[:category] if args.key?(:category)
|
|
480
|
+
@threshold = args[:threshold] if args.key?(:threshold)
|
|
481
|
+
end
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# Safety settings for the request.
|
|
485
|
+
class SafetySettings
|
|
486
|
+
include Google::Apis::Core::Hashable
|
|
487
|
+
|
|
488
|
+
# The safety settings for the request.
|
|
489
|
+
# Corresponds to the JSON property `settings`
|
|
490
|
+
# @return [Array<Google::Apis::TexttospeechV1::SafetySetting>]
|
|
491
|
+
attr_accessor :settings
|
|
492
|
+
|
|
493
|
+
def initialize(**args)
|
|
494
|
+
update!(**args)
|
|
495
|
+
end
|
|
496
|
+
|
|
497
|
+
# Update properties of this object
|
|
498
|
+
def update!(**args)
|
|
499
|
+
@settings = args[:settings] if args.key?(:settings)
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
|
|
452
503
|
# The `Status` type defines a logical error model that is suitable for different
|
|
453
504
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
454
505
|
# 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 TexttospeechV1
|
|
18
18
|
# Version of the google-apis-texttospeech_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.48.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
|
|
@@ -106,6 +106,18 @@ module Google
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
+
class SafetySetting
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class SafetySettings
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
109
121
|
class Status
|
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
123
|
|
|
@@ -172,6 +184,8 @@ module Google
|
|
|
172
184
|
property :enable_textnorm, as: 'enableTextnorm'
|
|
173
185
|
property :low_latency_journey_synthesis, as: 'lowLatencyJourneySynthesis'
|
|
174
186
|
property :relax_safety_filters, as: 'relaxSafetyFilters'
|
|
187
|
+
property :safety_settings, as: 'safetySettings', class: Google::Apis::TexttospeechV1::SafetySettings, decorator: Google::Apis::TexttospeechV1::SafetySettings::Representation
|
|
188
|
+
|
|
175
189
|
end
|
|
176
190
|
end
|
|
177
191
|
|
|
@@ -287,6 +301,22 @@ module Google
|
|
|
287
301
|
end
|
|
288
302
|
end
|
|
289
303
|
|
|
304
|
+
class SafetySetting
|
|
305
|
+
# @private
|
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
307
|
+
property :category, as: 'category'
|
|
308
|
+
property :threshold, as: 'threshold'
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class SafetySettings
|
|
313
|
+
# @private
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
315
|
+
collection :settings, as: 'settings', class: Google::Apis::TexttospeechV1::SafetySetting, decorator: Google::Apis::TexttospeechV1::SafetySetting::Representation
|
|
316
|
+
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
|
|
290
320
|
class Status
|
|
291
321
|
# @private
|
|
292
322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-texttospeech_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.48.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1/v0.48.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1
|
|
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
|
- - ">="
|