Google Cloud Retail V2 Client - Class DiversityType (1.2.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class DiversityType.

What type of diversity - data or rule based.

Protobuf type google.cloud.retail.v2.ServingConfig.DiversityType

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

DIVERSITY_TYPE_UNSPECIFIED

Value: 0

Default value.

Generated from protobuf enum DIVERSITY_TYPE_UNSPECIFIED = 0;

RULE_BASED_DIVERSITY

Value: 2

Rule based diversity.

Generated from protobuf enum RULE_BASED_DIVERSITY = 2;

DATA_DRIVEN_DIVERSITY

Value: 3

Data driven diversity.

Generated from protobuf enum DATA_DRIVEN_DIVERSITY = 3;