Google Cloud Retail V2 Client - Class DiversityType (1.5.0)

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

Namespace

Google \ Cloud \ Retail \ V2 \ ServingConfig

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
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;

Design a Mobile Site
View Site in Mobile | Classic
Share by: