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 \ V3Methods
__construct
Constructor.
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:
- 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.
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:
- 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.
$this