Class: Google::Cloud::DiscoveryEngine::V1::SearchRequest::DisplaySpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/search_service.rb

Overview

Specifies features for display, like match highlighting.

Defined Under Namespace

Modules: MatchHighlightingCondition

Instance Attribute Summary collapse

Instance Attribute Details

#match_highlighting_condition::Google::Cloud::DiscoveryEngine::V1::SearchRequest::DisplaySpec::MatchHighlightingCondition

Returns The condition under which match highlighting should occur.

Returns:



965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 965

class DisplaySpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum describing under which condition match highlighting should occur.
  module MatchHighlightingCondition
    # Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.
    MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED = 0

    # Disables match highlighting on all documents.
    MATCH_HIGHLIGHTING_DISABLED = 1

    # Enables match highlighting on all documents.
    MATCH_HIGHLIGHTING_ENABLED = 2
  end
end