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