Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::ResponseMessage::PlayAudio (v0.7.1)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::ResponseMessage::PlayAudio.

Specifies an audio clip to be played by the client as part of the response.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_playback_interruption

def allow_playback_interruption() -> ::Boolean
Returns
  • (::Boolean) — 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.

#audio_uri

def audio_uri() -> ::String
Returns
  • (::String) — Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.

#audio_uri=

def audio_uri=(value) -> ::String
Parameter
  • value (::String) — 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
  • (::String) — Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.