Retail V2 API - Class Google::Cloud::Retail::V2::SearchResponse::QueryExpansionInfo (v0.10.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::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