Google Cloud Dialogflow Cx V3 Client - Class TextToSpeechSettings (0.4.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class TextToSpeechSettings.

Settings related to speech synthesizing.

Generated from protobuf message google.cloud.dialogflow.cx.v3.TextToSpeechSettings

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ synthesize_speech_configs array|Google\Protobuf\Internal\MapField

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig. These settings affect: - The phone gateway synthesize configuration set via Agent.text_to_speech_settings. - How speech is synthesized when invoking session APIs. Agent.text_to_speech_settings only applies if OutputAudioConfig.synthesize_speech_config is not specified.

getSynthesizeSpeechConfigs

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

Returns
Type Description
Google\Protobuf\Internal\MapField

setSynthesizeSpeechConfigs

Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/cx/docs/reference/language) to SynthesizeSpeechConfig.

These settings affect:

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this