Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class StreamingSynthesizeConfig.
Provides configuration information for the StreamingSynthesize request.
Generated from protobuf message google.cloud.texttospeech.v1.StreamingSynthesizeConfig
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ voice |
Google\Cloud\TextToSpeech\V1\VoiceSelectionParams
Required. The desired voice of the synthesized audio. |
getVoice
Required. The desired voice of the synthesized audio.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\TextToSpeech\V1\VoiceSelectionParams|null |
|
hasVoice
clearVoice
setVoice
Required. The desired voice of the synthesized audio.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\TextToSpeech\V1\VoiceSelectionParams
|
| Returns | |
|---|---|
| Type | Description |
$this |
|