The initial support is for en-us, with plans to expand to other locales in
the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact
match of the phrase in the input types. If using SSML, the phrase must not
be inside a phoneme tag.
value (::Google::Cloud::TextToSpeech::V1::CustomPronunciations) — Optional. The pronunciation customizations are applied to the input. If
this is set, the input is synthesized using the given pronunciation
customizations.
The initial support is for en-us, with plans to expand to other locales in
the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact
match of the phrase in the input types. If using SSML, the phrase must not
be inside a phoneme tag.
The initial support is for en-us, with plans to expand to other locales in
the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact
match of the phrase in the input types. If using SSML, the phrase must not
be inside a phoneme tag.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Text-to-Speech V1 API - Class Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig (v1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/ruby/docs/reference/google-cloud-text_to_speech-v1/latest/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.9.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.9.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.8.1](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.8.1/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.7.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.7.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.6.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.6.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.5.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.5.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.4.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.4.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.3.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.2.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.1.1](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.1.1/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [1.0.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/1.0.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.13.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.13.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.12.2](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.12.2/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.11.1](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.11.1/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.10.1](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.10.1/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.9.1](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.9.1/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.8.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.7.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.6.0/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig)\n- [0.5.2](/ruby/docs/reference/google-cloud-text_to_speech-v1/0.5.2/Google-Cloud-TextToSpeech-V1-StreamingSynthesizeConfig) \nReference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::StreamingSynthesizeConfig.\n\nProvides configuration information for the StreamingSynthesize request. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #custom_pronunciations\n\n def custom_pronunciations() -\u003e ::Google::Cloud::TextToSpeech::V1::CustomPronunciations\n\n**Returns**\n\n- ([::Google::Cloud::TextToSpeech::V1::CustomPronunciations](./Google-Cloud-TextToSpeech-V1-CustomPronunciations)) --- Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.\n\n\n The initial support is for en-us, with plans to expand to other locales in\n the future. Instant Clone voices aren't supported.\n\n In order to customize the pronunciation of a phrase, there must be an exact\n match of the phrase in the input types. If using SSML, the phrase must not\n be inside a phoneme tag.\n\n### #custom_pronunciations=\n\n def custom_pronunciations=(value) -\u003e ::Google::Cloud::TextToSpeech::V1::CustomPronunciations\n\n**Parameter**\n\n- **value** ([::Google::Cloud::TextToSpeech::V1::CustomPronunciations](./Google-Cloud-TextToSpeech-V1-CustomPronunciations)) --- Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.\n\n\n The initial support is for en-us, with plans to expand to other locales in\n the future. Instant Clone voices aren't supported.\n\n In order to customize the pronunciation of a phrase, there must be an exact\n match of the phrase in the input types. If using SSML, the phrase must not\nbe inside a phoneme tag. \n**Returns**\n\n- ([::Google::Cloud::TextToSpeech::V1::CustomPronunciations](./Google-Cloud-TextToSpeech-V1-CustomPronunciations)) --- Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.\n\n\n The initial support is for en-us, with plans to expand to other locales in\n the future. Instant Clone voices aren't supported.\n\n In order to customize the pronunciation of a phrase, there must be an exact\n match of the phrase in the input types. If using SSML, the phrase must not\n be inside a phoneme tag.\n\n### #streaming_audio_config\n\n def streaming_audio_config() -\u003e ::Google::Cloud::TextToSpeech::V1::StreamingAudioConfig\n\n**Returns**\n\n- ([::Google::Cloud::TextToSpeech::V1::StreamingAudioConfig](./Google-Cloud-TextToSpeech-V1-StreamingAudioConfig)) --- Optional. The configuration of the synthesized audio.\n\n### #streaming_audio_config=\n\n def streaming_audio_config=(value) -\u003e ::Google::Cloud::TextToSpeech::V1::StreamingAudioConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::TextToSpeech::V1::StreamingAudioConfig](./Google-Cloud-TextToSpeech-V1-StreamingAudioConfig)) --- Optional. The configuration of the synthesized audio. \n**Returns**\n\n- ([::Google::Cloud::TextToSpeech::V1::StreamingAudioConfig](./Google-Cloud-TextToSpeech-V1-StreamingAudioConfig)) --- Optional. The configuration of the synthesized audio.\n\n### #voice\n\n def voice() -\u003e ::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams\n\n**Returns**\n\n- ([::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams](./Google-Cloud-TextToSpeech-V1-VoiceSelectionParams)) --- Required. The desired voice of the synthesized audio.\n\n### #voice=\n\n def voice=(value) -\u003e ::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams\n\n**Parameter**\n\n- **value** ([::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams](./Google-Cloud-TextToSpeech-V1-VoiceSelectionParams)) --- Required. The desired voice of the synthesized audio. \n**Returns**\n\n- ([::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams](./Google-Cloud-TextToSpeech-V1-VoiceSelectionParams)) --- Required. The desired voice of the synthesized audio."]]