As the primary unit for predicting, indexing and search serving, a
Type.PRIMARYProduct is grouped with multiple
Type.VARIANT
{::Google::Cloud::Retail::V2::Product Product}s.
VARIANT
value: 2 The variant type.
Type.VARIANT
{::Google::Cloud::Retail::V2::Product Product}s usually share some common
attributes on the same
Type.PRIMARY
{::Google::Cloud::Retail::V2::Product Product}s, but they have variant
attributes like different colors, sizes and prices, etc.
COLLECTION
value: 3 The collection type. Collection products are bundled
Type.PRIMARY
{::Google::Cloud::Retail::V2::Product Product}s or
Type.VARIANT
{::Google::Cloud::Retail::V2::Product Product}s that are sold together, such
as a jewelry set with necklaces, earrings and rings, etc.