Google Cloud Retail V2 Client - Class Mode (1.0.1)

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

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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;