Class: Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb

Overview

The simple response message containing speech or text.

Instance Attribute Summary collapse

Instance Attribute Details

#display_textString

Returns Optional. The text to display.

Returns:

  • (String)

    Optional. The text to display.



299
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 299

class SimpleResponse; end

#ssmlString

Returns 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.

Returns:

  • (String)

    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.



299
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 299

class SimpleResponse; end

#text_to_speechString

Returns One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.

Returns:

  • (String)

    One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.



299
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 299

class SimpleResponse; end