Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::Model::FrequentlyBoughtTogetherFeaturesConfig.
Additional configs for the frequently-bought-together model type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context_products_type
def context_products_type() -> ::Google::Cloud::Retail::V2::Model::ContextProductsType
Returns
-
(::Google::Cloud::Retail::V2::Model::ContextProductsType) — Optional. Specifies the context of the model when it is used in predict
requests. Can only be set for the
frequently-bought-together
type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
#context_products_type=
def context_products_type=(value) -> ::Google::Cloud::Retail::V2::Model::ContextProductsType
Parameter
-
value (::Google::Cloud::Retail::V2::Model::ContextProductsType) — Optional. Specifies the context of the model when it is used in predict
requests. Can only be set for the
frequently-bought-together
type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
Returns
-
(::Google::Cloud::Retail::V2::Model::ContextProductsType) — Optional. Specifies the context of the model when it is used in predict
requests. Can only be set for the
frequently-bought-together
type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.