google-cloud-text_to_speech-v1 1.12.0 → 1.14.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 +4 -4
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/operations.rb +12 -1
- data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/rest/operations.rb +12 -1
- data/lib/google/cloud/text_to_speech/v1/version.rb +1 -1
- data/lib/google/cloud/texttospeech/v1/cloud_tts_pb.rb +3 -1
- data/proto_docs/google/cloud/texttospeech/v1/cloud_tts.rb +40 -2
- data/proto_docs/google/longrunning/operations.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0edb5f9be38fc32aab610b074f237f976a6a54ac7f010c4ece273158737ef96c
|
|
4
|
+
data.tar.gz: 5de4809491348ab3a46e3d8cdd2c69fb82a246f29ade4caac969c02ab63fe50c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e470cba7c3caf022535c7f92eb4e4f763e54b7e858a60886875cb99d23239313a05fdd74b5704aa0d20041e079ffca965eb7961375bc76cd6947ad29460251b
|
|
7
|
+
data.tar.gz: b8cff0092e09eb247f14e6b00d606569b6a8a844108858c5c4f52835ebd40869d041940a2a0e259319c3f177bd6d34007a493a11abc23d874e109269b1ee6fc3
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
data/lib/google/cloud/text_to_speech/v1/text_to_speech_long_audio_synthesize/rest/operations.rb
CHANGED
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -10,7 +10,7 @@ require 'google/api/field_behavior_pb'
|
|
|
10
10
|
require 'google/api/resource_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n,google/cloud/texttospeech/v1/cloud_tts.proto\x12\x1cgoogle.cloud.texttospeech.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"/\n\x11ListVoicesRequest\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x01\"I\n\x12ListVoicesResponse\x12\x33\n\x06voices\x18\x01 \x03(\x0b\x32#.google.cloud.texttospeech.v1.Voice\"\x94\x01\n\x05Voice\x12\x16\n\x0elanguage_codes\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x42\n\x0bssml_gender\x18\x03 \x01(\x0e\x32-.google.cloud.texttospeech.v1.SsmlVoiceGender\x12!\n\x19natural_sample_rate_hertz\x18\x04 \x01(\x05\"d\n\x14\x41\x64vancedVoiceOptions\x12*\n\x1dlow_latency_journey_synthesis\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42 \n\x1e_low_latency_journey_synthesis\"\xdd\x02\n\x17SynthesizeSpeechRequest\x12@\n\x05input\x18\x01 \x01(\x0b\x32,.google.cloud.texttospeech.v1.SynthesisInputB\x03\xe0\x41\x02\x12\x46\n\x05voice\x18\x02 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12\x44\n\x0c\x61udio_config\x18\x03 \x01(\x0b\x32).google.cloud.texttospeech.v1.AudioConfigB\x03\xe0\x41\x02\x12W\n\x16\x61\x64vanced_voice_options\x18\x08 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.AdvancedVoiceOptionsH\x00\x88\x01\x01\x42\x19\n\x17_advanced_voice_options\"\xa2\x03\n\x19\x43ustomPronunciationParams\x12\x13\n\x06phrase\x18\x01 \x01(\tH\x00\x88\x01\x01\x12h\n\x11phonetic_encoding\x18\x02 \x01(\x0e\x32H.google.cloud.texttospeech.v1.CustomPronunciationParams.PhoneticEncodingH\x01\x88\x01\x01\x12\x1a\n\rpronunciation\x18\x03 \x01(\tH\x02\x88\x01\x01\"\xb6\x01\n\x10PhoneticEncoding\x12!\n\x1dPHONETIC_ENCODING_UNSPECIFIED\x10\x00\x12\x19\n\x15PHONETIC_ENCODING_IPA\x10\x01\x12\x1d\n\x19PHONETIC_ENCODING_X_SAMPA\x10\x02\x12\'\n#PHONETIC_ENCODING_JAPANESE_YOMIGANA\x10\x03\x12\x1c\n\x18PHONETIC_ENCODING_PINYIN\x10\x04\x42\t\n\x07_phraseB\x14\n\x12_phonetic_encodingB\x10\n\x0e_pronunciation\"g\n\x14\x43ustomPronunciations\x12O\n\x0epronunciations\x18\x01 \x03(\x0b\x32\x37.google.cloud.texttospeech.v1.CustomPronunciationParams\"\x90\x01\n\x12MultiSpeakerMarkup\x12I\n\x05turns\x18\x01 \x03(\x0b\x32\x35.google.cloud.texttospeech.v1.MultiSpeakerMarkup.TurnB\x03\xe0\x41\x02\x1a/\n\x04Turn\x12\x14\n\x07speaker\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x9c\x02\n\x0eSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x12P\n\x14multi_speaker_markup\x18\x04 \x01(\x0b\x32\x30.google.cloud.texttospeech.v1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x12V\n\x15\x63ustom_pronunciations\x18\x03 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.CustomPronunciationsB\x03\xe0\x41\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\
|
|
13
|
+
descriptor_data = "\n,google/cloud/texttospeech/v1/cloud_tts.proto\x12\x1cgoogle.cloud.texttospeech.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"/\n\x11ListVoicesRequest\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x01\"I\n\x12ListVoicesResponse\x12\x33\n\x06voices\x18\x01 \x03(\x0b\x32#.google.cloud.texttospeech.v1.Voice\"\x94\x01\n\x05Voice\x12\x16\n\x0elanguage_codes\x18\x01 \x03(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x42\n\x0bssml_gender\x18\x03 \x01(\x0e\x32-.google.cloud.texttospeech.v1.SsmlVoiceGender\x12!\n\x19natural_sample_rate_hertz\x18\x04 \x01(\x05\"d\n\x14\x41\x64vancedVoiceOptions\x12*\n\x1dlow_latency_journey_synthesis\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42 \n\x1e_low_latency_journey_synthesis\"\xdd\x02\n\x17SynthesizeSpeechRequest\x12@\n\x05input\x18\x01 \x01(\x0b\x32,.google.cloud.texttospeech.v1.SynthesisInputB\x03\xe0\x41\x02\x12\x46\n\x05voice\x18\x02 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12\x44\n\x0c\x61udio_config\x18\x03 \x01(\x0b\x32).google.cloud.texttospeech.v1.AudioConfigB\x03\xe0\x41\x02\x12W\n\x16\x61\x64vanced_voice_options\x18\x08 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.AdvancedVoiceOptionsH\x00\x88\x01\x01\x42\x19\n\x17_advanced_voice_options\"\xa2\x03\n\x19\x43ustomPronunciationParams\x12\x13\n\x06phrase\x18\x01 \x01(\tH\x00\x88\x01\x01\x12h\n\x11phonetic_encoding\x18\x02 \x01(\x0e\x32H.google.cloud.texttospeech.v1.CustomPronunciationParams.PhoneticEncodingH\x01\x88\x01\x01\x12\x1a\n\rpronunciation\x18\x03 \x01(\tH\x02\x88\x01\x01\"\xb6\x01\n\x10PhoneticEncoding\x12!\n\x1dPHONETIC_ENCODING_UNSPECIFIED\x10\x00\x12\x19\n\x15PHONETIC_ENCODING_IPA\x10\x01\x12\x1d\n\x19PHONETIC_ENCODING_X_SAMPA\x10\x02\x12\'\n#PHONETIC_ENCODING_JAPANESE_YOMIGANA\x10\x03\x12\x1c\n\x18PHONETIC_ENCODING_PINYIN\x10\x04\x42\t\n\x07_phraseB\x14\n\x12_phonetic_encodingB\x10\n\x0e_pronunciation\"g\n\x14\x43ustomPronunciations\x12O\n\x0epronunciations\x18\x01 \x03(\x0b\x32\x37.google.cloud.texttospeech.v1.CustomPronunciationParams\"\x90\x01\n\x12MultiSpeakerMarkup\x12I\n\x05turns\x18\x01 \x03(\x0b\x32\x35.google.cloud.texttospeech.v1.MultiSpeakerMarkup.TurnB\x03\xe0\x41\x02\x1a/\n\x04Turn\x12\x14\n\x07speaker\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x02\"P\n\x19MultispeakerPrebuiltVoice\x12\x1a\n\rspeaker_alias\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nspeaker_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"v\n\x17MultiSpeakerVoiceConfig\x12[\n\x15speaker_voice_configs\x18\x02 \x03(\x0b\x32\x37.google.cloud.texttospeech.v1.MultispeakerPrebuiltVoiceB\x03\xe0\x41\x02\"\x9c\x02\n\x0eSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12\x0e\n\x04ssml\x18\x02 \x01(\tH\x00\x12P\n\x14multi_speaker_markup\x18\x04 \x01(\x0b\x32\x30.google.cloud.texttospeech.v1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x12V\n\x15\x63ustom_pronunciations\x18\x03 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.CustomPronunciationsB\x03\xe0\x41\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\x8e\x03\n\x14VoiceSelectionParams\x12\x1a\n\rlanguage_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x42\n\x0bssml_gender\x18\x03 \x01(\x0e\x32-.google.cloud.texttospeech.v1.SsmlVoiceGender\x12\x45\n\x0c\x63ustom_voice\x18\x04 \x01(\x0b\x32/.google.cloud.texttospeech.v1.CustomVoiceParams\x12H\n\x0bvoice_clone\x18\x05 \x01(\x0b\x32..google.cloud.texttospeech.v1.VoiceCloneParamsB\x03\xe0\x41\x01\x12\x17\n\nmodel_name\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12^\n\x1amulti_speaker_voice_config\x18\x07 \x01(\x0b\x32\x35.google.cloud.texttospeech.v1.MultiSpeakerVoiceConfigB\x03\xe0\x41\x01\"\xf1\x01\n\x0b\x41udioConfig\x12H\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32+.google.cloud.texttospeech.v1.AudioEncodingB\x03\xe0\x41\x02\x12\x1d\n\rspeaking_rate\x18\x02 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x15\n\x05pitch\x18\x03 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x1e\n\x0evolume_gain_db\x18\x04 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\x12\x1e\n\x11sample_rate_hertz\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x12\x65\x66\x66\x65\x63ts_profile_id\x18\x06 \x03(\tB\x06\xe0\x41\x04\xe0\x41\x01\"\xf1\x01\n\x11\x43ustomVoiceParams\x12\x32\n\x05model\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\\\n\x0ereported_usage\x18\x03 \x01(\x0e\x32=.google.cloud.texttospeech.v1.CustomVoiceParams.ReportedUsageB\x05\x18\x01\xe0\x41\x01\"J\n\rReportedUsage\x12\x1e\n\x1aREPORTED_USAGE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REALTIME\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\"2\n\x10VoiceCloneParams\x12\x1e\n\x11voice_cloning_key\x18\x01 \x01(\tB\x03\xe0\x41\x02\"1\n\x18SynthesizeSpeechResponse\x12\x15\n\raudio_content\x18\x01 \x01(\x0c\"\x9f\x01\n\x14StreamingAudioConfig\x12H\n\x0e\x61udio_encoding\x18\x01 \x01(\x0e\x32+.google.cloud.texttospeech.v1.AudioEncodingB\x03\xe0\x41\x02\x12\x1e\n\x11sample_rate_hertz\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1d\n\rspeaking_rate\x18\x03 \x01(\x01\x42\x06\xe0\x41\x04\xe0\x41\x01\"\x94\x02\n\x19StreamingSynthesizeConfig\x12\x46\n\x05voice\x18\x01 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.VoiceSelectionParamsB\x03\xe0\x41\x02\x12W\n\x16streaming_audio_config\x18\x04 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.StreamingAudioConfigB\x03\xe0\x41\x01\x12V\n\x15\x63ustom_pronunciations\x18\x05 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.CustomPronunciationsB\x03\xe0\x41\x01\"\xbd\x01\n\x17StreamingSynthesisInput\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12\x10\n\x06markup\x18\x05 \x01(\tH\x00\x12P\n\x14multi_speaker_markup\x18\x07 \x01(\x0b\x32\x30.google.cloud.texttospeech.v1.MultiSpeakerMarkupH\x00\x12\x13\n\x06prompt\x18\x06 \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0cinput_sourceB\t\n\x07_prompt\"\xce\x01\n\x1aStreamingSynthesizeRequest\x12S\n\x10streaming_config\x18\x01 \x01(\x0b\x32\x37.google.cloud.texttospeech.v1.StreamingSynthesizeConfigH\x00\x12\x46\n\x05input\x18\x02 \x01(\x0b\x32\x35.google.cloud.texttospeech.v1.StreamingSynthesisInputH\x00\x42\x13\n\x11streaming_request\"4\n\x1bStreamingSynthesizeResponse\x12\x15\n\raudio_content\x18\x01 \x01(\x0c*W\n\x0fSsmlVoiceGender\x12!\n\x1dSSML_VOICE_GENDER_UNSPECIFIED\x10\x00\x12\x08\n\x04MALE\x10\x01\x12\n\n\x06\x46\x45MALE\x10\x02\x12\x0b\n\x07NEUTRAL\x10\x03*{\n\rAudioEncoding\x12\x1e\n\x1a\x41UDIO_ENCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08LINEAR16\x10\x01\x12\x07\n\x03MP3\x10\x02\x12\x0c\n\x08OGG_OPUS\x10\x03\x12\t\n\x05MULAW\x10\x05\x12\x08\n\x04\x41LAW\x10\x06\x12\x07\n\x03PCM\x10\x07\x12\x07\n\x03M4A\x10\x08\x32\xc7\x04\n\x0cTextToSpeech\x12\x93\x01\n\nListVoices\x12/.google.cloud.texttospeech.v1.ListVoicesRequest\x1a\x30.google.cloud.texttospeech.v1.ListVoicesResponse\"\"\xda\x41\rlanguage_code\x82\xd3\xe4\x93\x02\x0c\x12\n/v1/voices\x12\xbc\x01\n\x10SynthesizeSpeech\x12\x35.google.cloud.texttospeech.v1.SynthesizeSpeechRequest\x1a\x36.google.cloud.texttospeech.v1.SynthesizeSpeechResponse\"9\xda\x41\x18input,voice,audio_config\x82\xd3\xe4\x93\x02\x18\"\x13/v1/text:synthesize:\x01*\x12\x90\x01\n\x13StreamingSynthesize\x12\x38.google.cloud.texttospeech.v1.StreamingSynthesizeRequest\x1a\x39.google.cloud.texttospeech.v1.StreamingSynthesizeResponse\"\x00(\x01\x30\x01\x1aO\xca\x41\x1btexttospeech.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbc\x02\n com.google.cloud.texttospeech.v1B\x11TextToSpeechProtoP\x01ZDcloud.google.com/go/texttospeech/apiv1/texttospeechpb;texttospeechpb\xa2\x02\x04\x43TTS\xaa\x02\x1cGoogle.Cloud.TextToSpeech.V1\xca\x02\x1cGoogle\\Cloud\\TextToSpeech\\V1\xea\x02\x1fGoogle::Cloud::TextToSpeech::V1\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}b\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
|
@@ -50,6 +50,8 @@ module Google
|
|
|
50
50
|
CustomPronunciations = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.CustomPronunciations").msgclass
|
|
51
51
|
MultiSpeakerMarkup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.MultiSpeakerMarkup").msgclass
|
|
52
52
|
MultiSpeakerMarkup::Turn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.MultiSpeakerMarkup.Turn").msgclass
|
|
53
|
+
MultispeakerPrebuiltVoice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.MultispeakerPrebuiltVoice").msgclass
|
|
54
|
+
MultiSpeakerVoiceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.MultiSpeakerVoiceConfig").msgclass
|
|
53
55
|
SynthesisInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.SynthesisInput").msgclass
|
|
54
56
|
VoiceSelectionParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.VoiceSelectionParams").msgclass
|
|
55
57
|
AudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AudioConfig").msgclass
|
|
@@ -180,6 +180,33 @@ module Google
|
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
183
|
+
# Configuration for a single speaker in a Gemini TTS multi-speaker setup.
|
|
184
|
+
# Enables dialogue between two speakers.
|
|
185
|
+
# @!attribute [rw] speaker_alias
|
|
186
|
+
# @return [::String]
|
|
187
|
+
# Required. The speaker alias of the voice. This is the user-chosen speaker
|
|
188
|
+
# name that is used in the multispeaker text input, such as "Speaker1".
|
|
189
|
+
# @!attribute [rw] speaker_id
|
|
190
|
+
# @return [::String]
|
|
191
|
+
# Required. The speaker ID of the voice. See
|
|
192
|
+
# https://cloud.google.com/text-to-speech/docs/gemini-tts#voice_options
|
|
193
|
+
# for available values.
|
|
194
|
+
class MultispeakerPrebuiltVoice
|
|
195
|
+
include ::Google::Protobuf::MessageExts
|
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# Configuration for a multi-speaker text-to-speech setup. Enables the use of up
|
|
200
|
+
# to two distinct voices in a single synthesis request.
|
|
201
|
+
# @!attribute [rw] speaker_voice_configs
|
|
202
|
+
# @return [::Array<::Google::Cloud::TextToSpeech::V1::MultispeakerPrebuiltVoice>]
|
|
203
|
+
# Required. A list of configurations for the voices of the speakers. Exactly
|
|
204
|
+
# two speaker voice configurations must be provided.
|
|
205
|
+
class MultiSpeakerVoiceConfig
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
end
|
|
209
|
+
|
|
183
210
|
# Contains text input to be synthesized. Either `text` or `ssml` must be
|
|
184
211
|
# supplied. Supplying both or neither returns
|
|
185
212
|
# [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The
|
|
@@ -273,6 +300,11 @@ module Google
|
|
|
273
300
|
# @return [::String]
|
|
274
301
|
# Optional. The name of the model. If set, the service will choose the model
|
|
275
302
|
# matching the specified configuration.
|
|
303
|
+
# @!attribute [rw] multi_speaker_voice_config
|
|
304
|
+
# @return [::Google::Cloud::TextToSpeech::V1::MultiSpeakerVoiceConfig]
|
|
305
|
+
# Optional. The configuration for a Gemini multi-speaker text-to-speech
|
|
306
|
+
# setup. Enables the use of two distinct voices in a single synthesis
|
|
307
|
+
# request.
|
|
276
308
|
class VoiceSelectionParams
|
|
277
309
|
include ::Google::Protobuf::MessageExts
|
|
278
310
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -427,13 +459,19 @@ module Google
|
|
|
427
459
|
# contains complete, terminating sentences, which results in better prosody
|
|
428
460
|
# in the output audio.
|
|
429
461
|
#
|
|
430
|
-
# Note: The following fields are mutually exclusive: `text`, `markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
462
|
+
# Note: The following fields are mutually exclusive: `text`, `markup`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
431
463
|
# @!attribute [rw] markup
|
|
432
464
|
# @return [::String]
|
|
433
465
|
# Markup for HD voices specifically. This field may not be used with any
|
|
434
466
|
# other voices.
|
|
435
467
|
#
|
|
436
|
-
# Note: The following fields are mutually exclusive: `markup`, `text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
468
|
+
# Note: The following fields are mutually exclusive: `markup`, `text`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
469
|
+
# @!attribute [rw] multi_speaker_markup
|
|
470
|
+
# @return [::Google::Cloud::TextToSpeech::V1::MultiSpeakerMarkup]
|
|
471
|
+
# Multi-speaker markup for Gemini TTS. This field may not
|
|
472
|
+
# be used with any other voices.
|
|
473
|
+
#
|
|
474
|
+
# Note: The following fields are mutually exclusive: `multi_speaker_markup`, `text`, `markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
437
475
|
# @!attribute [rw] prompt
|
|
438
476
|
# @return [::String]
|
|
439
477
|
# This is system instruction supported only for controllable voice models.
|
|
@@ -83,6 +83,18 @@ module Google
|
|
|
83
83
|
# @!attribute [rw] page_token
|
|
84
84
|
# @return [::String]
|
|
85
85
|
# The standard list page token.
|
|
86
|
+
# @!attribute [rw] return_partial_success
|
|
87
|
+
# @return [::Boolean]
|
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
89
|
+
# and those that are unreachable are returned in the
|
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
|
91
|
+
#
|
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
|
94
|
+
#
|
|
95
|
+
# This field is not by default supported and will result in an
|
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
97
|
+
# service or product specific documentation.
|
|
86
98
|
class ListOperationsRequest
|
|
87
99
|
include ::Google::Protobuf::MessageExts
|
|
88
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -96,6 +108,12 @@ module Google
|
|
|
96
108
|
# @!attribute [rw] next_page_token
|
|
97
109
|
# @return [::String]
|
|
98
110
|
# The standard List next-page token.
|
|
111
|
+
# @!attribute [rw] unreachable
|
|
112
|
+
# @return [::Array<::String>]
|
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
|
116
|
+
# locations.
|
|
99
117
|
class ListOperationsResponse
|
|
100
118
|
include ::Google::Protobuf::MessageExts
|
|
101
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|