Google Cloud Retail V2 Client - Class RecentSearchResult (1.2.1)

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

Recent search of this user.

Generated from protobuf message google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ recent_search string

The recent search query.

getRecentSearch

The recent search query.

Returns
TypeDescription
string

setRecentSearch

The recent search query.

Parameter
NameDescription
var string
Returns
TypeDescription
$this