class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
Represents one segment of audio.
Attributes
Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. Corresponds to the JSON property `allowPlaybackInterruption` @return [Boolean]
Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. Corresponds to the JSON property `allowPlaybackInterruption` @return [Boolean]
Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. Corresponds to the JSON property `audio` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 1732 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 1737 def update!(**args) @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption) @audio = args[:audio] if args.key?(:audio) @uri = args[:uri] if args.key?(:uri) end