Reference documentation and code samples for the Google Cloud Dialogflow V2 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.
Generated from protobuf message google.cloud.dialogflow.v2.ResponseMessage.MixedAudio
Namespace
Google \ Cloud \ Dialogflow \ V2 \ ResponseMessageMethods
__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\RepeatedField<MixedAudio\Segment> |
|
setSegments
Segments this audio response is composed of.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MixedAudio\Segment>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|