GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs

data class GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs(val pageOptimizationEventType: Output<String>, val panels: Output<List<GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs>>, val restriction: Output<GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction>? = null) : ConvertibleToJava<GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs>

The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.

Constructors

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs

Properties

Link copied to clipboard

The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * add-to-cart: Products being added to cart. * detail-page-view: Products detail page viewed. * home-page-view: Homepage viewed * category-page-view: Homepage viewed * shopping-cart-page-view: User viewing a shopping cart. home-page-view only allows models with type recommended-for-you. All other page_optimization_event_type allow all Model.types.

Link copied to clipboard

A list of panel configurations. Limit = 5.

Link copied to clipboard

Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to UNIQUE_MODEL_RESTRICTION.