Skip to content

Commit 049b4d3

Browse files
feat: Automated regeneration of texttospeech v1beta1 client (googleapis#24206)
Auto-created at 2025-09-07 10:08:49 +0000 using the toys pull request generator.
1 parent b089de4 commit 049b4d3

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361590,6 +361590,7 @@
361590361590
"/texttospeech:v1beta1/SynthesisInput/customPronunciations": custom_pronunciations
361591361591
"/texttospeech:v1beta1/SynthesisInput/markup": markup
361592361592
"/texttospeech:v1beta1/SynthesisInput/multiSpeakerMarkup": multi_speaker_markup
361593+
"/texttospeech:v1beta1/SynthesisInput/prompt": prompt
361593361594
"/texttospeech:v1beta1/SynthesisInput/ssml": ssml
361594361595
"/texttospeech:v1beta1/SynthesisInput/text": text
361595361596
"/texttospeech:v1beta1/SynthesizeLongAudioMetadata": synthesize_long_audio_metadata

generated/google-apis-texttospeech_v1beta1/CHANGELOG.md

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

3+
### v0.37.0 (2025-09-07)
4+
5+
* Regenerated from discovery document revision 20250903
6+
37
### v0.36.0 (2025-08-10)
48

59
* Regenerated from discovery document revision 20250805

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,13 @@ class SynthesisInput
408408
# @return [Google::Apis::TexttospeechV1beta1::MultiSpeakerMarkup]
409409
attr_accessor :multi_speaker_markup
410410

411+
# This is system instruction supported only for controllable voice models. If
412+
# used, we will pass text to Flash TTS as is. Can only used with Flash TTS. What
413+
# AI Studio calls Style Instructions.
414+
# Corresponds to the JSON property `prompt`
415+
# @return [String]
416+
attr_accessor :prompt
417+
411418
# The SSML document to be synthesized. The SSML document must be valid and well-
412419
# formed. Otherwise the RPC will fail and return google.rpc.Code.
413420
# INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/
@@ -430,6 +437,7 @@ def update!(**args)
430437
@custom_pronunciations = args[:custom_pronunciations] if args.key?(:custom_pronunciations)
431438
@markup = args[:markup] if args.key?(:markup)
432439
@multi_speaker_markup = args[:multi_speaker_markup] if args.key?(:multi_speaker_markup)
440+
@prompt = args[:prompt] if args.key?(:prompt)
433441
@ssml = args[:ssml] if args.key?(:ssml)
434442
@text = args[:text] if args.key?(:text)
435443
end

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

Lines changed: 2 additions & 2 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.36.0"
19+
GEM_VERSION = "0.37.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250805"
25+
REVISION = "20250903"
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
@@ -255,6 +255,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
255255
property :markup, as: 'markup'
256256
property :multi_speaker_markup, as: 'multiSpeakerMarkup', class: Google::Apis::TexttospeechV1beta1::MultiSpeakerMarkup, decorator: Google::Apis::TexttospeechV1beta1::MultiSpeakerMarkup::Representation
257257

258+
property :prompt, as: 'prompt'
258259
property :ssml, as: 'ssml'
259260
property :text, as: 'text'
260261
end

0 commit comments

Comments
 (0)