Class PersonalizationSpec (1.16.3)

PersonalizationSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The specification for personalization.

Attribute

NameDescription
mode google.cloud.retail_v2alpha.types.SearchRequest.PersonalizationSpec.Mode
Defaults to Mode.AUTO.

Classes

Mode

Mode(value)

The personalization mode of each search request.

Values: MODE_UNSPECIFIED (0): Default value. In this case, server behavior defaults to Mode.AUTO. AUTO (1): Let CRS decide whether to use personalization based on quality of user event data. DISABLED (2): Disable personalization.