Class: Google::Cloud::DiscoveryEngine::V1::SearchRequest::SearchAsYouTypeSpec
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::SearchRequest::SearchAsYouTypeSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/search_service.rb
Overview
Specification for search as you type in search requests.
Defined Under Namespace
Modules: Condition
Instance Attribute Summary collapse
-
#condition ⇒ ::Google::Cloud::DiscoveryEngine::V1::SearchRequest::SearchAsYouTypeSpec::Condition
The condition under which search as you type should occur.
Instance Attribute Details
#condition ⇒ ::Google::Cloud::DiscoveryEngine::V1::SearchRequest::SearchAsYouTypeSpec::Condition
Returns The condition under which search as you type should occur. Default to Condition.DISABLED.
939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 939 class SearchAsYouTypeSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Enum describing under which condition search as you type should occur. module Condition # Server behavior defaults to # {::Google::Cloud::DiscoveryEngine::V1::SearchRequest::SearchAsYouTypeSpec::Condition::DISABLED Condition.DISABLED}. CONDITION_UNSPECIFIED = 0 # Disables Search As You Type. DISABLED = 1 # Enables Search As You Type. ENABLED = 2 # Automatic switching between search-as-you-type and standard search # modes, ideal for single-API implementations (e.g., debouncing). AUTO = 3 end end |