Class: Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/intent.rb
Overview
The simple response message containing speech or text.
Instance Attribute Summary collapse
-
#display_text ⇒ ::String
Optional.
-
#ssml ⇒ ::String
One of text_to_speech or ssml must be provided.
-
#text_to_speech ⇒ ::String
One of text_to_speech or ssml must be provided.
Instance Attribute Details
#display_text ⇒ ::String
Returns Optional. The text to display.
404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 404 class SimpleResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ssml ⇒ ::String
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.
404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 404 class SimpleResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_to_speech ⇒ ::String
Returns One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
404 405 406 407 |
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 404 class SimpleResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |