Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::SearchResponse::QueryExpansionInfo (v1.2.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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