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
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]
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]
The raw text to be synthesized. Corresponds to the JSON property `text` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 3999 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 4004 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