Skip to content

Commit b089de4

Browse files
feat: Automated regeneration of texttospeech v1 client (googleapis#24205)
Auto-created at 2025-09-07 10:08:13 +0000 using the toys pull request generator.
1 parent 50f0bc3 commit b089de4

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
@@ -361470,6 +361470,7 @@
361470361470
"/texttospeech:v1/SynthesisInput/customPronunciations": custom_pronunciations
361471361471
"/texttospeech:v1/SynthesisInput/markup": markup
361472361472
"/texttospeech:v1/SynthesisInput/multiSpeakerMarkup": multi_speaker_markup
361473+
"/texttospeech:v1/SynthesisInput/prompt": prompt
361473361474
"/texttospeech:v1/SynthesisInput/ssml": ssml
361474361475
"/texttospeech:v1/SynthesisInput/text": text
361475361476
"/texttospeech:v1/SynthesizeLongAudioMetadata": synthesize_long_audio_metadata

generated/google-apis-texttospeech_v1/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_v1
22

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

59
* Regenerated from discovery document revision 20250805

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,13 @@ class SynthesisInput
437437
# @return [Google::Apis::TexttospeechV1::MultiSpeakerMarkup]
438438
attr_accessor :multi_speaker_markup
439439

440+
# This is system instruction supported only for controllable voice models. If
441+
# used, we will pass text to Flash TTS as is. Can only used with Flash TTS. What
442+
# AI Studio calls Style Instructions.
443+
# Corresponds to the JSON property `prompt`
444+
# @return [String]
445+
attr_accessor :prompt
446+
440447
# The SSML document to be synthesized. The SSML document must be valid and well-
441448
# formed. Otherwise the RPC will fail and return google.rpc.Code.
442449
# INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/
@@ -459,6 +466,7 @@ def update!(**args)
459466
@custom_pronunciations = args[:custom_pronunciations] if args.key?(:custom_pronunciations)
460467
@markup = args[:markup] if args.key?(:markup)
461468
@multi_speaker_markup = args[:multi_speaker_markup] if args.key?(:multi_speaker_markup)
469+
@prompt = args[:prompt] if args.key?(:prompt)
462470
@ssml = args[:ssml] if args.key?(:ssml)
463471
@text = args[:text] if args.key?(:text)
464472
end

generated/google-apis-texttospeech_v1/lib/google/apis/texttospeech_v1/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 TexttospeechV1
1818
# Version of the google-apis-texttospeech_v1 gem
19-
GEM_VERSION = "0.39.0"
19+
GEM_VERSION = "0.40.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_v1/lib/google/apis/texttospeech_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
273273
property :markup, as: 'markup'
274274
property :multi_speaker_markup, as: 'multiSpeakerMarkup', class: Google::Apis::TexttospeechV1::MultiSpeakerMarkup, decorator: Google::Apis::TexttospeechV1::MultiSpeakerMarkup::Representation
275275

276+
property :prompt, as: 'prompt'
276277
property :ssml, as: 'ssml'
277278
property :text, as: 'text'
278279
end

0 commit comments

Comments
 (0)