class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText

A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.

Attributes

allow_playback_interruption[RW]

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]

allow_playback_interruption?[RW]

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]

ssml[RW]

The SSML text to be synthesized. For more information, see [SSML](/speech/text- to-speech/docs/ssml). Corresponds to the JSON property `ssml` @return [String]

text[RW]

The raw text to be synthesized. Corresponds to the JSON property `text` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 4387
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_v3/classes.rb, line 4392
def update!(**args)
  @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
  @ssml = args[:ssml] if args.key?(:ssml)
  @text = args[:text] if args.key?(:text)
end