Reference documentation and code samples for the Google Cloud Retail V2 Client class PersonalizationSpec.
The specification for personalization.
Generated from protobuf message google.cloud.retail.v2.SearchRequest.PersonalizationSpec
Namespace
Google \ Cloud \ Retail \ V2 \ SearchRequestMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mode |
int
Defaults to Mode.AUTO. |
getMode
Defaults to Mode.AUTO.
Returns | |
---|---|
Type | Description |
int |
setMode
Defaults to Mode.AUTO.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |