From 9defe61f543337a48f40abef95ad8bad6adaa54f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 19 Oct 2025 10:05:12 +0000 Subject: [PATCH] feat: Automated regeneration of texttospeech v1 client --- api_names_out.yaml | 1 + generated/google-apis-texttospeech_v1/CHANGELOG.md | 4 ++-- .../lib/google/apis/texttospeech_v1/classes.rb | 9 +++++++++ .../lib/google/apis/texttospeech_v1/gem_version.rb | 2 +- .../lib/google/apis/texttospeech_v1/representations.rb | 1 + 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 3e72c8b351a..57384076ee1 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -367709,6 +367709,7 @@ "/testing:v1/testing.testEnvironmentCatalog.get/projectId": project_id "/texttospeech:v1/AdvancedVoiceOptions": advanced_voice_options "/texttospeech:v1/AdvancedVoiceOptions/lowLatencyJourneySynthesis": low_latency_journey_synthesis +"/texttospeech:v1/AdvancedVoiceOptions/relaxSafetyFilters": relax_safety_filters "/texttospeech:v1/AudioConfig": audio_config "/texttospeech:v1/AudioConfig/audioEncoding": audio_encoding "/texttospeech:v1/AudioConfig/effectsProfileId": effects_profile_id diff --git a/generated/google-apis-texttospeech_v1/CHANGELOG.md b/generated/google-apis-texttospeech_v1/CHANGELOG.md index 137aa38090e..e050bf34545 100644 --- a/generated/google-apis-texttospeech_v1/CHANGELOG.md +++ b/generated/google-apis-texttospeech_v1/CHANGELOG.md @@ -1,8 +1,8 @@ # Release history for google-apis-texttospeech_v1 -### v0.43.0 (2025-10-12) +### v0.43.0 (2025-10-19) -* Regenerated from discovery document revision 20251001 +* Regenerated from discovery document revision 20251014 ### v0.42.0 (2025-09-28) diff --git a/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/classes.rb b/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/classes.rb index f0ca50f7aac..a1080fc6bd6 100644 --- a/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/classes.rb +++ b/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/classes.rb @@ -33,6 +33,14 @@ class AdvancedVoiceOptions attr_accessor :low_latency_journey_synthesis alias_method :low_latency_journey_synthesis?, :low_latency_journey_synthesis + # Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only + # supported for accounts linked to Invoiced (Offline) Cloud billing accounts. + # Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT. + # Corresponds to the JSON property `relaxSafetyFilters` + # @return [Boolean] + attr_accessor :relax_safety_filters + alias_method :relax_safety_filters?, :relax_safety_filters + def initialize(**args) update!(**args) end @@ -40,6 +48,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @low_latency_journey_synthesis = args[:low_latency_journey_synthesis] if args.key?(:low_latency_journey_synthesis) + @relax_safety_filters = args[:relax_safety_filters] if args.key?(:relax_safety_filters) end end diff --git a/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/gem_version.rb b/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/gem_version.rb index 7a0d03d9871..a356561024b 100644 --- a/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/gem_version.rb +++ b/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/gem_version.rb @@ -22,7 +22,7 @@ module TexttospeechV1 GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251001" + REVISION = "20251014" end end end diff --git a/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/representations.rb b/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/representations.rb index e2ac155f7d4..4902d131ffb 100644 --- a/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/representations.rb +++ b/generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/representations.rb @@ -170,6 +170,7 @@ class AdvancedVoiceOptions # @private class Representation < Google::Apis::Core::JsonRepresentation property :low_latency_journey_synthesis, as: 'lowLatencyJourneySynthesis' + property :relax_safety_filters, as: 'relaxSafetyFilters' end end