Class MixedAudio (1.27.0)

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

Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.

Attribute

NameDescription
segments MutableSequence[google.cloud.dialogflowcx_v3.types.ResponseMessage.MixedAudio.Segment]
Segments this audio response is composed of.

Classes

Segment

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

Represents one segment of audio.

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