Cloud Text-to-Speech V1 Client - Class StreamingSynthesizeConfig (1.12.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ voice VoiceSelectionParams

Required. The desired voice of the synthesized audio.

getVoice

Required. The desired voice of the synthesized audio.

Returns
Type Description
VoiceSelectionParams|null

hasVoice

clearVoice

setVoice

Required. The desired voice of the synthesized audio.

Parameter
Name Description
var VoiceSelectionParams
Returns
Type Description
$this