Class PersonalizationSpec (1.20.1)

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

The specification for personalization.

Attribute

Name Description
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.