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.
getVoice
Required. The desired voice of the synthesized audio.
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.
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.
[[["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-09-09 UTC."],[],[],null,["# Cloud Text-to-Speech V1 Client - Class StreamingSynthesizeConfig (2.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.2 (latest)](/php/docs/reference/cloud-text-to-speech/latest/V1.StreamingSynthesizeConfig)\n- [2.2.1](/php/docs/reference/cloud-text-to-speech/2.2.1/V1.StreamingSynthesizeConfig)\n- [2.0.1](/php/docs/reference/cloud-text-to-speech/2.0.1/V1.StreamingSynthesizeConfig)\n- [1.12.2](/php/docs/reference/cloud-text-to-speech/1.12.2/V1.StreamingSynthesizeConfig)\n- [1.11.0](/php/docs/reference/cloud-text-to-speech/1.11.0/V1.StreamingSynthesizeConfig)\n- [1.10.0](/php/docs/reference/cloud-text-to-speech/1.10.0/V1.StreamingSynthesizeConfig)\n- [1.9.1](/php/docs/reference/cloud-text-to-speech/1.9.1/V1.StreamingSynthesizeConfig)\n- [1.8.5](/php/docs/reference/cloud-text-to-speech/1.8.5/V1.StreamingSynthesizeConfig)\n- [1.7.2](/php/docs/reference/cloud-text-to-speech/1.7.2/V1.StreamingSynthesizeConfig)\n- [1.6.1](/php/docs/reference/cloud-text-to-speech/1.6.1/V1.StreamingSynthesizeConfig)\n- [1.5.6](/php/docs/reference/cloud-text-to-speech/1.5.6/V1.StreamingSynthesizeConfig)\n- [1.4.5](/php/docs/reference/cloud-text-to-speech/1.4.5/V1.StreamingSynthesizeConfig) \nReference documentation and code samples for the Cloud Text-to-Speech V1 Client class StreamingSynthesizeConfig.\n\nProvides configuration information for the StreamingSynthesize request.\n\nGenerated from protobuf message `google.cloud.texttospeech.v1.StreamingSynthesizeConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ TextToSpeech \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVoice\n\nRequired. The desired voice of the synthesized audio.\n\n### hasVoice\n\n### clearVoice\n\n### setVoice\n\nRequired. The desired voice of the synthesized audio.\n\n### getStreamingAudioConfig\n\nOptional. The configuration of the synthesized audio.\n\n### hasStreamingAudioConfig\n\n### clearStreamingAudioConfig\n\n### setStreamingAudioConfig\n\nOptional. The configuration of the synthesized audio.\n\n### getCustomPronunciations\n\nOptional. The pronunciation customizations are applied to the input. If\nthis is set, the input is synthesized using the given pronunciation\ncustomizations.\n\nThe initial support is for en-us, with plans to expand to other locales in\nthe future. Instant Clone voices aren't supported.\nIn order to customize the pronunciation of a phrase, there must be an exact\nmatch of the phrase in the input types. If using SSML, the phrase must not\nbe inside a phoneme tag.\n\n### hasCustomPronunciations\n\n### clearCustomPronunciations\n\n### setCustomPronunciations\n\nOptional. The pronunciation customizations are applied to the input. If\nthis is set, the input is synthesized using the given pronunciation\ncustomizations.\n\nThe initial support is for en-us, with plans to expand to other locales in\nthe future. Instant Clone voices aren't supported.\nIn order to customize the pronunciation of a phrase, there must be an exact\nmatch of the phrase in the input types. If using SSML, the phrase must not\nbe inside a phoneme tag."]]