Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ResponseMessage::Text.
The text response message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#text
def text() -> ::Array<::String>
Returns
- (::Array<::String>) — A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
#text=
def text=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.
Returns
- (::Array<::String>) — A collection of text response variants. If multiple variants are defined, only one text response variant is returned at runtime.