Reference documentation and code samples for the Google Cloud Retail V2 Client class Mode.
The personalization mode of each search request.
Protobuf type google.cloud.retail.v2.SearchRequest.PersonalizationSpec.Mode
Namespace
Google \ Cloud \ Retail \ V2 \ SearchRequest \ PersonalizationSpecMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
MODE_UNSPECIFIED
Value: 0
Default value. In this case, server behavior defaults to Mode.AUTO.
Generated from protobuf enum MODE_UNSPECIFIED = 0;
AUTO
Value: 1
Let CRS decide whether to use personalization based on quality of user event data.
Generated from protobuf enum AUTO = 1;
DISABLED
Value: 2
Disable personalization.
Generated from protobuf enum DISABLED = 2;