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 | |
|---|---|
| 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 |
|