Retail v2 API - Enum Model.Types.ContextProductsType (2.11.0)

public enum Model.Types.ContextProductsType

Reference documentation and code samples for the Retail v2 API enum Model.Types.ContextProductsType.

Use single or multiple context products for recommendations.

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Fields

Name Description
MultipleContextProducts

Use one or multiple products as context for the recommendation. Typically used on shopping cart pages.

SingleContextProduct

Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.

Unspecified

Unspecified default value, should never be explicitly set. Defaults to [MULTIPLE_CONTEXT_PRODUCTS][google.cloud.retail.v2.Model.ContextProductsType.MULTIPLE_CONTEXT_PRODUCTS].