Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::QueryExpansionInfo (v0.17.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::QueryExpansionInfo.

Information describing query expansion including whether expansion has occurred.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expanded_query

def expanded_query() -> ::Boolean
Returns
  • (::Boolean) — Bool describing whether query expansion has occurred.

#expanded_query=

def expanded_query=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Bool describing whether query expansion has occurred.
Returns
  • (::Boolean) — Bool describing whether query expansion has occurred.

#pinned_result_count

def pinned_result_count() -> ::Integer
Returns

#pinned_result_count=

def pinned_result_count=(value) -> ::Integer
Parameter
Returns