class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment

Represents one segment of audio.

Attributes

allow_playback_interruption[RW]

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]

allow_playback_interruption?[RW]

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]

audio[RW]

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]

uri[RW]

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

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 6505
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 6510
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