Google Cloud Retail V2 Client - Class RecentSearchResult (1.6.4)

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

Namespace

Google \ Cloud \ Retail \ V2 \ CompleteQueryResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ recent_search string

The recent search query.

getRecentSearch

The recent search query.

Returns
Type Description
string

setRecentSearch

The recent search query.

Parameter
Name Description
var string
Returns
Type Description
$this