google-apis-texttospeech_v1 0.38.0 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26c447f0da0c2f0816d4c35dd9cd1f7e8522ed22489596df4c0f6670c6440e97
|
4
|
+
data.tar.gz: 3b7b5e123831aa8d27227061db6220e2156f81f2a710d7178009637943e823d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4e1386247185b25188eab6dfc8e307510419659505a75b6c763c30dffaaa339424e1200a295c0eab3617ff795a54e56ace5ba649e53232d3d306c45b230d29
|
7
|
+
data.tar.gz: d8db7054fc1174d0bcff9ddc93cb96eb34921369c720cdd870ee1b37488d7b175aaa18b52b170c614b528324f72f4b2778c247f27e3b60d5ccdb28276702aa09
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-texttospeech_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2025-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250903
|
6
|
+
|
7
|
+
### v0.39.0 (2025-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250805
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.38.0 (2025-05-11)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250424
|
@@ -437,6 +437,13 @@ module Google
|
|
437
437
|
# @return [Google::Apis::TexttospeechV1::MultiSpeakerMarkup]
|
438
438
|
attr_accessor :multi_speaker_markup
|
439
439
|
|
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
|
+
|
440
447
|
# The SSML document to be synthesized. The SSML document must be valid and well-
|
441
448
|
# formed. Otherwise the RPC will fail and return google.rpc.Code.
|
442
449
|
# INVALID_ARGUMENT. For more information, see [SSML](https://cloud.google.com/
|
@@ -459,6 +466,7 @@ module Google
|
|
459
466
|
@custom_pronunciations = args[:custom_pronunciations] if args.key?(:custom_pronunciations)
|
460
467
|
@markup = args[:markup] if args.key?(:markup)
|
461
468
|
@multi_speaker_markup = args[:multi_speaker_markup] if args.key?(:multi_speaker_markup)
|
469
|
+
@prompt = args[:prompt] if args.key?(:prompt)
|
462
470
|
@ssml = args[:ssml] if args.key?(:ssml)
|
463
471
|
@text = args[:text] if args.key?(:text)
|
464
472
|
end
|
@@ -705,6 +713,12 @@ module Google
|
|
705
713
|
# @return [String]
|
706
714
|
attr_accessor :language_code
|
707
715
|
|
716
|
+
# Optional. The name of the model. If set, the service will choose the model
|
717
|
+
# matching the specified configuration.
|
718
|
+
# Corresponds to the JSON property `modelName`
|
719
|
+
# @return [String]
|
720
|
+
attr_accessor :model_name
|
721
|
+
|
708
722
|
# The name of the voice. If both the name and the gender are not set, the
|
709
723
|
# service will choose a voice based on the other parameters such as
|
710
724
|
# language_code.
|
@@ -734,6 +748,7 @@ module Google
|
|
734
748
|
def update!(**args)
|
735
749
|
@custom_voice = args[:custom_voice] if args.key?(:custom_voice)
|
736
750
|
@language_code = args[:language_code] if args.key?(:language_code)
|
751
|
+
@model_name = args[:model_name] if args.key?(:model_name)
|
737
752
|
@name = args[:name] if args.key?(:name)
|
738
753
|
@ssml_gender = args[:ssml_gender] if args.key?(:ssml_gender)
|
739
754
|
@voice_clone = args[:voice_clone] if args.key?(:voice_clone)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module TexttospeechV1
|
18
18
|
# Version of the google-apis-texttospeech_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250903"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -273,6 +273,7 @@ module Google
|
|
273
273
|
property :markup, as: 'markup'
|
274
274
|
property :multi_speaker_markup, as: 'multiSpeakerMarkup', class: Google::Apis::TexttospeechV1::MultiSpeakerMarkup, decorator: Google::Apis::TexttospeechV1::MultiSpeakerMarkup::Representation
|
275
275
|
|
276
|
+
property :prompt, as: 'prompt'
|
276
277
|
property :ssml, as: 'ssml'
|
277
278
|
property :text, as: 'text'
|
278
279
|
end
|
@@ -352,6 +353,7 @@ module Google
|
|
352
353
|
property :custom_voice, as: 'customVoice', class: Google::Apis::TexttospeechV1::CustomVoiceParams, decorator: Google::Apis::TexttospeechV1::CustomVoiceParams::Representation
|
353
354
|
|
354
355
|
property :language_code, as: 'languageCode'
|
356
|
+
property :model_name, as: 'modelName'
|
355
357
|
property :name, as: 'name'
|
356
358
|
property :ssml_gender, as: 'ssmlGender'
|
357
359
|
property :voice_clone, as: 'voiceClone', class: Google::Apis::TexttospeechV1::VoiceCloneParams, decorator: Google::Apis::TexttospeechV1::VoiceCloneParams::Representation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-texttospeech_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-texttospeech_v1/v0.40.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-texttospeech_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Cloud Text-to-Speech API V1
|
79
79
|
test_files: []
|