Skip to content

Commit 3520c1a

Browse files
feat: Automated regeneration of texttospeech v1beta1 client (googleapis#23898)
Auto-created at 2025-08-10 10:12:20 +0000 using the toys pull request generator.
1 parent de4ac5f commit 3520c1a

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356585,6 +356585,7 @@
356585356585
"/texttospeech:v1beta1/VoiceSelectionParams": voice_selection_params
356586356586
"/texttospeech:v1beta1/VoiceSelectionParams/customVoice": custom_voice
356587356587
"/texttospeech:v1beta1/VoiceSelectionParams/languageCode": language_code
356588+
"/texttospeech:v1beta1/VoiceSelectionParams/modelName": model_name
356588356589
"/texttospeech:v1beta1/VoiceSelectionParams/name": name
356589356590
"/texttospeech:v1beta1/VoiceSelectionParams/ssmlGender": ssml_gender
356590356591
"/texttospeech:v1beta1/VoiceSelectionParams/voiceClone": voice_clone

generated/google-apis-texttospeech_v1beta1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-texttospeech_v1beta1
22

3+
### v0.36.0 (2025-08-10)
4+
5+
* Regenerated from discovery document revision 20250805
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.35.0 (2025-05-11)
49

510
* Regenerated from discovery document revision 20250424

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,12 @@ class VoiceSelectionParams
721721
# @return [String]
722722
attr_accessor :language_code
723723

724+
# Optional. The name of the model. If set, the service will choose the model
725+
# matching the specified configuration.
726+
# Corresponds to the JSON property `modelName`
727+
# @return [String]
728+
attr_accessor :model_name
729+
724730
# The name of the voice. If both the name and the gender are not set, the
725731
# service will choose a voice based on the other parameters such as
726732
# language_code.
@@ -750,6 +756,7 @@ def initialize(**args)
750756
def update!(**args)
751757
@custom_voice = args[:custom_voice] if args.key?(:custom_voice)
752758
@language_code = args[:language_code] if args.key?(:language_code)
759+
@model_name = args[:model_name] if args.key?(:model_name)
753760
@name = args[:name] if args.key?(:name)
754761
@ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
755762
@voice_clone = args[:voice_clone] if args.key?(:voice_clone)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TexttospeechV1beta1
1818
# Version of the google-apis-texttospeech_v1beta1 gem
19-
GEM_VERSION = "0.35.0"
19+
GEM_VERSION = "0.36.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
347347
property :custom_voice, as: 'customVoice', class: Google::Apis::TexttospeechV1beta1::CustomVoiceParams, decorator: Google::Apis::TexttospeechV1beta1::CustomVoiceParams::Representation
348348

349349
property :language_code, as: 'languageCode'
350+
property :model_name, as: 'modelName'
350351
property :name, as: 'name'
351352
property :ssml_gender, as: 'ssmlGender'
352353
property :voice_clone, as: 'voiceClone', class: Google::Apis::TexttospeechV1beta1::VoiceCloneParams, decorator: Google::Apis::TexttospeechV1beta1::VoiceCloneParams::Representation

0 commit comments

Comments
 (0)