class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse

The simple response message containing speech or text.

Attributes

display_text[RW]

Optional. The text to display. Corresponds to the JSON property `displayText` @return [String]

ssml[RW]

One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech. Corresponds to the JSON property `ssml` @return [String]

text_to_speech[RW]

One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml. Corresponds to the JSON property `textToSpeech` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 9826
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 9831
def update!(**args)
  @display_text = args[:display_text] if args.key?(:display_text)
  @ssml = args[:ssml] if args.key?(:ssml)
  @text_to_speech = args[:text_to_speech] if args.key?(:text_to_speech)
end