Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.
↳ allow_playback_interruption
bool
Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
getAudioUri
Required. URI of the audio clip. Dialogflow does not impose any
validation on this value. It is specific to the client that reads it.
Returns
Type
Description
string
setAudioUri
Required. URI of the audio clip. Dialogflow does not impose any
validation on this value. It is specific to the client that reads it.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAllowPlaybackInterruption
Output only. Whether the playback of this message can be interrupted by
the end user's speech and the client can then starts the next Dialogflow
request.
Returns
Type
Description
bool
setAllowPlaybackInterruption
Output only. Whether the playback of this message can be interrupted by
the end user's speech and the client can then starts the next Dialogflow
request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class PlayAudio (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ResponseMessage.PlayAudio)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.ResponseMessage.PlayAudio)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.ResponseMessage.PlayAudio)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.ResponseMessage.PlayAudio)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.ResponseMessage.PlayAudio)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.ResponseMessage.PlayAudio)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.ResponseMessage.PlayAudio)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.ResponseMessage.PlayAudio)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.ResponseMessage.PlayAudio) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PlayAudio.\n\nSpecifies an audio clip to be played by the client as part of the response.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.ResponseMessage.PlayAudio`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3 \\\\ ResponseMessage\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAudioUri\n\nRequired. URI of the audio clip. Dialogflow does not impose any\nvalidation on this value. It is specific to the client that reads it.\n\n### setAudioUri\n\nRequired. URI of the audio clip. Dialogflow does not impose any\nvalidation on this value. It is specific to the client that reads it.\n\n### getAllowPlaybackInterruption\n\nOutput only. Whether the playback of this message can be interrupted by\nthe end user's speech and the client can then starts the next Dialogflow\nrequest.\n\n### setAllowPlaybackInterruption\n\nOutput only. Whether the playback of this message can be interrupted by\nthe end user's speech and the client can then starts the next Dialogflow\nrequest."]]