class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
Specifies an audio clip to be played by the client as part of the response.
Attributes
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. Corresponds to the JSON property `allowPlaybackInterruption` @return [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. Corresponds to the JSON property `allowPlaybackInterruption` @return [Boolean]
Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it. Corresponds to the JSON property `audioUri` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 1796 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 1801 def update!(**args) @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption) @audio_uri = args[:audio_uri] if args.key?(:audio_uri) end