Class TelephonySynthesizeSpeech (2.14.1)

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

NameDescription
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

Inheritance

builtins.object > proto.message.Message > TelephonySynthesizeSpeech