google-cloud-text_to_speech-v1 1.16.0 → 1.17.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: 69202b05d2d90e49d33f4561b0d668b19d3979e679a3f5f8485773de022ae2f1
4
- data.tar.gz: 85c6bd5b584d36adb16fadcc552e9f3b6d13bd6f629cd3265323c32c4e8fcb4c
3
+ metadata.gz: a5dba56ba8e5d859bb708b794d1f862c8cf1b1ed9459c4dba5d2ea167ed7a308
4
+ data.tar.gz: 7101836960a7be0d895d9ddf05e83e69dc87a1d0cb82d823f544c961f3402890
5
5
  SHA512:
6
- metadata.gz: 9a3c70abc01d824821b201a4a2e77806c29e7298d9330d1a45b6fb3f26b7e4a286adbd2ba6b9a344394b37896eec51eb13763c58ef83c61f54ce679e0ce18435
7
- data.tar.gz: c11ce10ec9e2ad3b03d829fe3607682fe316cc616be70d21d707ff6b89def0596227827c73f8b3d12a491cd3be3af4708cdbdb821ab82dbd69305116d096ebb3
6
+ metadata.gz: 83c237c5526aeba7f73e520cfb2f645c6dd98522dfc93e5cbeca1db6a36dcb3ee866fc029aea064752fea48ac511413bf1f28e6c4dd31df7d30b5c43cbc5a8d8
7
+ data.tar.gz: 22dbaf678f01fe32ab67d54e1878928c0cca41fba5eaba6906749f5c81524891a1532bf181cb633b9c222c29c9e452e56b0fb05a68db34f137001aa478971a58
@@ -298,7 +298,7 @@ module Google
298
298
  # @param audio_config [::Google::Cloud::TextToSpeech::V1::AudioConfig, ::Hash]
299
299
  # Required. The configuration of the synthesized audio.
300
300
  # @param advanced_voice_options [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions, ::Hash]
301
- # Advanced voice options.
301
+ # Optional. Advanced voice options.
302
302
  #
303
303
  # @yield [response, operation] Access the result along with the RPC operation
304
304
  # @yieldparam response [::Google::Cloud::TextToSpeech::V1::SynthesizeSpeechResponse]
@@ -292,7 +292,7 @@ module Google
292
292
  # @param audio_config [::Google::Cloud::TextToSpeech::V1::AudioConfig, ::Hash]
293
293
  # Required. The configuration of the synthesized audio.
294
294
  # @param advanced_voice_options [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions, ::Hash]
295
- # Advanced voice options.
295
+ # Optional. Advanced voice options.
296
296
  # @yield [result, operation] Access the result along with the TransportOperation object
297
297
  # @yieldparam result [::Google::Cloud::TextToSpeech::V1::SynthesizeSpeechResponse]
298
298
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TextToSpeech
23
23
  module V1
24
- VERSION = "1.16.0"
24
+ VERSION = "1.17.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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\"\x8a\x01\n\x14\x41\x64vancedVoiceOptions\x12*\n\x1dlow_latency_journey_synthesis\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12$\n\x14relax_safety_filters\x18\x08 \x01(\x08\x42\x06\xe0\x41\x04\xe0\x41\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"
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\"\xa3\x07\n\x14\x41\x64vancedVoiceOptions\x12*\n\x1dlow_latency_journey_synthesis\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12&\n\x14relax_safety_filters\x18\x08 \x01(\x08\x42\x08\x18\x01\xe0\x41\x04\xe0\x41\x01\x12\x62\n\x0fsafety_settings\x18\t \x01(\x0b\x32\x41.google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettingsB\x06\xe0\x41\x04\xe0\x41\x01\x12!\n\x0f\x65nable_textnorm\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x1a\xbc\x01\n\rSafetySetting\x12Q\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32?.google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmCategory\x12X\n\tthreshold\x18\x02 \x01(\x0e\x32\x45.google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmBlockThreshold\x1a\x64\n\x0eSafetySettings\x12R\n\x08settings\x18\x01 \x03(\x0b\x32@.google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting\"\xb4\x01\n\x0cHarmCategory\x12\x1d\n\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\n\x1fHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1c\n\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\n\x1fHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\"\x9d\x01\n\x12HarmBlockThreshold\x12$\n HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\n\x13\x42LOCK_LOW_AND_ABOVE\x10\x01\x12\x1a\n\x16\x42LOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\n\x0f\x42LOCK_ONLY_HIGH\x10\x03\x12\x0e\n\nBLOCK_NONE\x10\x04\x12\x07\n\x03OFF\x10\x05\x42 \n\x1e_low_latency_journey_synthesisB\x12\n\x10_enable_textnorm\"\xe2\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\x12\\\n\x16\x61\x64vanced_voice_options\x18\x08 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.AdvancedVoiceOptionsB\x03\xe0\x41\x01H\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\"\x8d\x03\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\x12\\\n\x16\x61\x64vanced_voice_options\x18\x07 \x01(\x0b\x32\x32.google.cloud.texttospeech.v1.AdvancedVoiceOptionsB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x19\n\x17_advanced_voice_options\"\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
  pool.add_serialized_file(descriptor_data)
@@ -23,6 +23,10 @@ module Google
23
23
  ListVoicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.ListVoicesResponse").msgclass
24
24
  Voice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.Voice").msgclass
25
25
  AdvancedVoiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AdvancedVoiceOptions").msgclass
26
+ AdvancedVoiceOptions::SafetySetting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySetting").msgclass
27
+ AdvancedVoiceOptions::SafetySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettings").msgclass
28
+ AdvancedVoiceOptions::HarmCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmCategory").enummodule
29
+ AdvancedVoiceOptions::HarmBlockThreshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.AdvancedVoiceOptions.HarmBlockThreshold").enummodule
26
30
  SynthesizeSpeechRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.SynthesizeSpeechRequest").msgclass
27
31
  CustomPronunciationParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.CustomPronunciationParams").msgclass
28
32
  CustomPronunciationParams::PhoneticEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.texttospeech.v1.CustomPronunciationParams.PhoneticEncoding").enummodule
@@ -141,9 +141,10 @@ module Google
141
141
  #
142
142
  # Example of a YAML configuration::
143
143
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
144
+ # publishing:
145
+ # library_settings:
146
+ # java_settings:
147
+ # library_package: com.google.cloud.pubsub.v1
147
148
  # @!attribute [rw] service_class_names
148
149
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
150
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ module Google
155
156
  #
156
157
  # Example of a YAML configuration::
157
158
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
159
+ # publishing:
160
+ # java_settings:
161
+ # service_class_names:
162
+ # - google.pubsub.v1.Publisher: TopicAdmin
163
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
164
  # @!attribute [rw] common
164
165
  # @return [::Google::Api::CommonLanguageSettings]
165
166
  # Some settings.
@@ -190,6 +191,20 @@ module Google
190
191
  # @!attribute [rw] common
191
192
  # @return [::Google::Api::CommonLanguageSettings]
192
193
  # Some settings.
194
+ # @!attribute [rw] library_package
195
+ # @return [::String]
196
+ # The package name to use in Php. Clobbers the php_namespace option
197
+ # set in the protobuf. This should be used **only** by APIs
198
+ # who have already set the language_settings.php.package_name" field
199
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
200
+ # where possible.
201
+ #
202
+ # Example of a YAML configuration::
203
+ #
204
+ # publishing:
205
+ # library_settings:
206
+ # php_settings:
207
+ # library_package: Google\Cloud\PubSub\V1
193
208
  class PhpSettings
194
209
  include ::Google::Protobuf::MessageExts
195
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ module Google
318
333
  # service names and values are the name to be used for the service client
319
334
  # and call options.
320
335
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
336
+ # Example:
337
+ #
338
+ # publishing:
339
+ # go_settings:
340
+ # renamed_services:
341
+ # Publisher: TopicAdmin
325
342
  class GoSettings
326
343
  include ::Google::Protobuf::MessageExts
327
344
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ module Google
344
361
  #
345
362
  # Example:
346
363
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
364
+ # publishing:
365
+ # method_settings:
366
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
367
+ # # method settings for CreateFolder...
351
368
  # @!attribute [rw] long_running
352
369
  # @return [::Google::Api::MethodSettings::LongRunning]
353
370
  # Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ module Google
356
373
  #
357
374
  # Example of a YAML configuration::
358
375
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
376
+ # publishing:
377
+ # method_settings:
378
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
379
+ # long_running:
380
+ # initial_poll_delay: 60s # 1 minute
381
+ # poll_delay_multiplier: 1.5
382
+ # max_poll_delay: 360s # 6 minutes
383
+ # total_poll_timeout: 54000s # 90 minutes
367
384
  # @!attribute [rw] auto_populated_fields
368
385
  # @return [::Array<::String>]
369
386
  # List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ module Google
372
389
  #
373
390
  # Example of a YAML configuration:
374
391
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
392
+ # publishing:
393
+ # method_settings:
394
+ # - selector: google.example.v1.ExampleService.CreateExample
395
+ # auto_populated_fields:
396
+ # - request_id
397
+ # @!attribute [rw] batching
398
+ # @return [::Google::Api::BatchingConfigProto]
399
+ # Batching configuration for an API method in client libraries.
400
+ #
401
+ # Example of a YAML configuration:
402
+ #
403
+ # publishing:
404
+ # method_settings:
405
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
406
+ # batching:
407
+ # element_count_threshold: 1000
408
+ # request_byte_threshold: 100000000
409
+ # delay_threshold_millis: 10
380
410
  class MethodSettings
381
411
  include ::Google::Protobuf::MessageExts
382
412
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ module Google
428
458
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
459
  end
430
460
 
461
+ # `BatchingConfigProto` defines the batching configuration for an API method.
462
+ # @!attribute [rw] thresholds
463
+ # @return [::Google::Api::BatchingSettingsProto]
464
+ # The thresholds which trigger a batched request to be sent.
465
+ # @!attribute [rw] batch_descriptor
466
+ # @return [::Google::Api::BatchingDescriptorProto]
467
+ # The request and response fields used in batching.
468
+ class BatchingConfigProto
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
474
+ # which acts as a trigger to send a batch of messages as a request. At least
475
+ # one threshold must be positive nonzero.
476
+ # @!attribute [rw] element_count_threshold
477
+ # @return [::Integer]
478
+ # The number of elements of a field collected into a batch which, if
479
+ # exceeded, causes the batch to be sent.
480
+ # @!attribute [rw] request_byte_threshold
481
+ # @return [::Integer]
482
+ # The aggregated size of the batched field which, if exceeded, causes the
483
+ # batch to be sent. This size is computed by aggregating the sizes of the
484
+ # request field to be batched, not of the entire request message.
485
+ # @!attribute [rw] delay_threshold
486
+ # @return [::Google::Protobuf::Duration]
487
+ # The duration after which a batch should be sent, starting from the addition
488
+ # of the first message to that batch.
489
+ # @!attribute [rw] element_count_limit
490
+ # @return [::Integer]
491
+ # The maximum number of elements collected in a batch that could be accepted
492
+ # by server.
493
+ # @!attribute [rw] request_byte_limit
494
+ # @return [::Integer]
495
+ # The maximum size of the request that could be accepted by server.
496
+ # @!attribute [rw] flow_control_element_limit
497
+ # @return [::Integer]
498
+ # The maximum number of elements allowed by flow control.
499
+ # @!attribute [rw] flow_control_byte_limit
500
+ # @return [::Integer]
501
+ # The maximum size of data allowed by flow control.
502
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
503
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
504
+ # The behavior to take when the flow control limit is exceeded.
505
+ class BatchingSettingsProto
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
+ end
509
+
510
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
511
+ # used for batching, and, optionally, the fields of the response message to be
512
+ # used for demultiplexing.
513
+ # @!attribute [rw] batched_field
514
+ # @return [::String]
515
+ # The repeated field in the request message to be aggregated by batching.
516
+ # @!attribute [rw] discriminator_fields
517
+ # @return [::Array<::String>]
518
+ # A list of the fields in the request message. Two requests will be batched
519
+ # together only if the values of every field specified in
520
+ # `request_discriminator_fields` is equal between the two requests.
521
+ # @!attribute [rw] subresponse_field
522
+ # @return [::String]
523
+ # Optional. When present, indicates the field in the response message to be
524
+ # used to demultiplex the response into multiple response messages, in
525
+ # correspondence with the multiple request messages originally batched
526
+ # together.
527
+ class BatchingDescriptorProto
528
+ include ::Google::Protobuf::MessageExts
529
+ extend ::Google::Protobuf::MessageExts::ClassMethods
530
+ end
531
+
431
532
  # The organization for which the client libraries are being published.
432
533
  # Affects the url where generated docs are published, etc.
433
534
  module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module Google
469
570
  # Publish the library to package managers like nuget.org and npmjs.com.
470
571
  PACKAGE_MANAGER = 20
471
572
  end
573
+
574
+ # The behavior to take when the flow control limit is exceeded.
575
+ module FlowControlLimitExceededBehaviorProto
576
+ # Default behavior, system-defined.
577
+ UNSET_BEHAVIOR = 0
578
+
579
+ # Stop operation, raise error.
580
+ THROW_EXCEPTION = 1
581
+
582
+ # Pause operation until limit clears.
583
+ BLOCK = 2
584
+
585
+ # Continue operation, disregard limit.
586
+ IGNORE = 3
587
+ end
472
588
  end
473
589
  end
@@ -72,14 +72,84 @@ module Google
72
72
  # Only for Journey voices. If false, the synthesis is context aware
73
73
  # and has a higher latency.
74
74
  # @!attribute [rw] relax_safety_filters
75
+ # @deprecated This field is deprecated and may be removed in the next major version update.
75
76
  # @return [::Boolean]
76
- # Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only
77
- # supported for accounts linked to Invoiced (Offline) Cloud billing accounts.
78
- # Otherwise, will return result
79
- # [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
77
+ # Optional. Input only. Deprecated, use safety_settings instead.
78
+ # If true, relaxes safety filters for Gemini TTS.
79
+ # @!attribute [rw] safety_settings
80
+ # @return [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySettings]
81
+ # Optional. Input only. This applies to Gemini TTS only. If set, the category
82
+ # specified in the safety setting will be blocked if the harm probability is
83
+ # above the threshold. Otherwise, the safety filter will be disabled by
84
+ # default.
85
+ # @!attribute [rw] enable_textnorm
86
+ # @return [::Boolean]
87
+ # Optional. If true, textnorm will be applied to text input. This feature is
88
+ # enabled by default. Only applies for Gemini TTS.
80
89
  class AdvancedVoiceOptions
81
90
  include ::Google::Protobuf::MessageExts
82
91
  extend ::Google::Protobuf::MessageExts::ClassMethods
92
+
93
+ # Safety setting for a single harm category.
94
+ # @!attribute [rw] category
95
+ # @return [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmCategory]
96
+ # The harm category to apply the safety setting to.
97
+ # @!attribute [rw] threshold
98
+ # @return [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmBlockThreshold]
99
+ # The harm block threshold for the safety setting.
100
+ class SafetySetting
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+ end
104
+
105
+ # Safety settings for the request.
106
+ # @!attribute [rw] settings
107
+ # @return [::Array<::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting>]
108
+ # The safety settings for the request.
109
+ class SafetySettings
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # Harm categories that will block the content.
115
+ module HarmCategory
116
+ # Default value. This value is unused.
117
+ HARM_CATEGORY_UNSPECIFIED = 0
118
+
119
+ # Content that promotes violence or incites hatred against individuals or
120
+ # groups based on certain attributes.
121
+ HARM_CATEGORY_HATE_SPEECH = 1
122
+
123
+ # Content that promotes, facilitates, or enables dangerous activities.
124
+ HARM_CATEGORY_DANGEROUS_CONTENT = 2
125
+
126
+ # Abusive, threatening, or content intended to bully, torment, or ridicule.
127
+ HARM_CATEGORY_HARASSMENT = 3
128
+
129
+ # Content that contains sexually explicit material.
130
+ HARM_CATEGORY_SEXUALLY_EXPLICIT = 4
131
+ end
132
+
133
+ # Harm block thresholds for the safety settings.
134
+ module HarmBlockThreshold
135
+ # The harm block threshold is unspecified.
136
+ HARM_BLOCK_THRESHOLD_UNSPECIFIED = 0
137
+
138
+ # Block content with a low harm probability or higher.
139
+ BLOCK_LOW_AND_ABOVE = 1
140
+
141
+ # Block content with a medium harm probability or higher.
142
+ BLOCK_MEDIUM_AND_ABOVE = 2
143
+
144
+ # Block content with a high harm probability.
145
+ BLOCK_ONLY_HIGH = 3
146
+
147
+ # Do not block any content, regardless of its harm probability.
148
+ BLOCK_NONE = 4
149
+
150
+ # Turn off the safety filter entirely.
151
+ OFF = 5
152
+ end
83
153
  end
84
154
 
85
155
  # The top-level message sent by the client for the `SynthesizeSpeech` method.
@@ -94,7 +164,7 @@ module Google
94
164
  # Required. The configuration of the synthesized audio.
95
165
  # @!attribute [rw] advanced_voice_options
96
166
  # @return [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions]
97
- # Advanced voice options.
167
+ # Optional. Advanced voice options.
98
168
  class SynthesizeSpeechRequest
99
169
  include ::Google::Protobuf::MessageExts
100
170
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -224,8 +294,8 @@ module Google
224
294
  # Note: The following fields are mutually exclusive: `text`, `markup`, `ssml`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
225
295
  # @!attribute [rw] markup
226
296
  # @return [::String]
227
- # Markup for HD voices specifically. This field may not be used with any
228
- # other voices.
297
+ # Markup for Chirp 3: HD voices specifically. This field may not be used
298
+ # with any other voices.
229
299
  #
230
300
  # Note: The following fields are mutually exclusive: `markup`, `text`, `ssml`, `multi_speaker_markup`. If a field in that set is populated, all other fields in the set will automatically be cleared.
231
301
  # @!attribute [rw] ssml
@@ -453,6 +523,9 @@ module Google
453
523
  # In order to customize the pronunciation of a phrase, there must be an exact
454
524
  # match of the phrase in the input types. If using SSML, the phrase must not
455
525
  # be inside a phoneme tag.
526
+ # @!attribute [rw] advanced_voice_options
527
+ # @return [::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions]
528
+ # Optional. Advanced voice options.
456
529
  class StreamingSynthesizeConfig
457
530
  include ::Google::Protobuf::MessageExts
458
531
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -468,8 +541,8 @@ module Google
468
541
  # 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.
469
542
  # @!attribute [rw] markup
470
543
  # @return [::String]
471
- # Markup for HD voices specifically. This field may not be used with any
472
- # other voices.
544
+ # Markup for Chirp 3: HD voices specifically. This field may not be used
545
+ # with any other voices.
473
546
  #
474
547
  # 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.
475
548
  # @!attribute [rw] multi_speaker_markup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-text_to_speech-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC