Class TelephonySynthesizeSpeech (2.32.0)

TelephonySynthesizeSpeech(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.

Telephony Gateway takes the synthesizer settings from DetectIntentResponse.output_audio_config which can either be set at request-level or can come from the agent-level synthesizer config.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
text str
The raw text to be synthesized. This field is a member of oneof_ source.
ssml str
The SSML to be synthesized. For more information, see SSML __. This field is a member of oneof_ source.