Class MixedAudio (1.0.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 Sequence[google.cloud.dialogflowcx_v3beta1.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. .. attribute:: audio

Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.

:type: bytes