Skip to content

Commit 2272e25

Browse files
feat: Automated regeneration of texttospeech v1 client (#24671)
Auto-created at 2025-10-19 10:05:11 +0000 using the toys pull request generator.
1 parent 1f65ff8 commit 2272e25

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368020,6 +368020,7 @@
368020368020
"/testing:v1/testing.testEnvironmentCatalog.get/projectId": project_id
368021368021
"/texttospeech:v1/AdvancedVoiceOptions": advanced_voice_options
368022368022
"/texttospeech:v1/AdvancedVoiceOptions/lowLatencyJourneySynthesis": low_latency_journey_synthesis
368023+
"/texttospeech:v1/AdvancedVoiceOptions/relaxSafetyFilters": relax_safety_filters
368023368024
"/texttospeech:v1/AudioConfig": audio_config
368024368025
"/texttospeech:v1/AudioConfig/audioEncoding": audio_encoding
368025368026
"/texttospeech:v1/AudioConfig/effectsProfileId": effects_profile_id

generated/google-apis-texttospeech_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-texttospeech_v1
22

3-
### v0.43.0 (2025-10-12)
3+
### v0.43.0 (2025-10-19)
44

5-
* Regenerated from discovery document revision 20251001
5+
* Regenerated from discovery document revision 20251014
66

77
### v0.42.0 (2025-09-28)
88

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/classes.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,22 @@ class AdvancedVoiceOptions
3333
attr_accessor :low_latency_journey_synthesis
3434
alias_method :low_latency_journey_synthesis?, :low_latency_journey_synthesis
3535

36+
# Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only
37+
# supported for accounts linked to Invoiced (Offline) Cloud billing accounts.
38+
# Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.
39+
# Corresponds to the JSON property `relaxSafetyFilters`
40+
# @return [Boolean]
41+
attr_accessor :relax_safety_filters
42+
alias_method :relax_safety_filters?, :relax_safety_filters
43+
3644
def initialize(**args)
3745
update!(**args)
3846
end
3947

4048
# Update properties of this object
4149
def update!(**args)
4250
@low_latency_journey_synthesis = args[:low_latency_journey_synthesis] if args.key?(:low_latency_journey_synthesis)
51+
@relax_safety_filters = args[:relax_safety_filters] if args.key?(:relax_safety_filters)
4352
end
4453
end
4554

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module TexttospeechV1
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251001"
25+
REVISION = "20251014"
2626
end
2727
end
2828
end

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ class AdvancedVoiceOptions
170170
# @private
171171
class Representation < Google::Apis::Core::JsonRepresentation
172172
property :low_latency_journey_synthesis, as: 'lowLatencyJourneySynthesis'
173+
property :relax_safety_filters, as: 'relaxSafetyFilters'
173174
end
174175
end
175176

0 commit comments

Comments
 (0)