Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Condition::QueryTerm (v1.0.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Condition::QueryTerm.

Matcher for search request query

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#full_match

def full_match() -> ::Boolean
Returns
  • (::Boolean) — Whether the search query needs to exactly match the query term.

#full_match=

def full_match=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the search query needs to exactly match the query term.
Returns
  • (::Boolean) — Whether the search query needs to exactly match the query term.

#value

def value() -> ::String
Returns
  • (::String) — The specific query value to match against

    Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — The specific query value to match against

    Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.

Returns
  • (::String) — The specific query value to match against

    Must be lowercase, must be UTF-8. Can have at most 3 space separated terms if full_match is true. Cannot be an empty string. Maximum length of 5000 characters.