Google Cloud Retail V2 Client - Class PersonalizationSpec (1.3.1)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mode int

Defaults to Mode.AUTO.

getMode

Defaults to Mode.AUTO.

Returns
TypeDescription
int

setMode

Defaults to Mode.AUTO.

Parameter
NameDescription
var int
Returns
TypeDescription
$this