Google Cloud Dialogflow Cx V3 Client - Class MixedAudio (0.5.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class MixedAudio.

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.

Generated from protobuf message google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ ResponseMessage

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ segments array<MixedAudio\Segment>

Segments this audio response is composed of.

getSegments

Segments this audio response is composed of.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSegments

Segments this audio response is composed of.

Parameter
Name Description
var array<MixedAudio\Segment>
Returns
Type Description
$this