Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::TextInput.
Defines text input.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context
def context() -> ::Google::Cloud::DiscoveryEngine::V1::ConversationContext
Returns
- (::Google::Cloud::DiscoveryEngine::V1::ConversationContext) — Conversation context of the input.
#context=
def context=(value) -> ::Google::Cloud::DiscoveryEngine::V1::ConversationContext
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::ConversationContext) — Conversation context of the input.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::ConversationContext) — Conversation context of the input.
#input
def input() -> ::String
Returns
- (::String) — Text input.
#input=
def input=(value) -> ::String
Parameter
- value (::String) — Text input.
Returns
- (::String) — Text input.