class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText
The text response 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]
text[RW]
Required. A collection of text responses. Corresponds to the JSON property `text` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 8326 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 8331 def update!(**args) @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption) @text = args[:text] if args.key?(:text) end