Google Cloud Dialogflow Cx V3 Client - Class MixedAudio (0.2.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ segments array<Google\Cloud\Dialogflow\Cx\V3\ResponseMessage\MixedAudio\Segment>

Segments this audio response is composed of.

getSegments

Segments this audio response is composed of.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSegments

Segments this audio response is composed of.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\ResponseMessage\MixedAudio\Segment>
Returns
TypeDescription
$this