Google Cloud Retail V2 Client - Class RefinedSearch (2.5.0)

Reference documentation and code samples for the Google Cloud Retail V2 Client class RefinedSearch.

The proposed refined search for intent-refinement/bundled shopping conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here.

Generated from protobuf message google.cloud.retail.v2.ConversationalSearchResponse.RefinedSearch

Namespace

Google \ Cloud \ Retail \ V2 \ ConversationalSearchResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ query string

The query to be used for search.

getQuery

The query to be used for search.

Returns
Type Description
string

setQuery

The query to be used for search.

Parameter
Name Description
var string
Returns
Type Description
$this