The collection type. Collection products are bundled
[Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
[Product][google.cloud.retail.v2.Product]s or
[Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product]s that are sold together, such
as a jewelry set with necklaces, earrings and rings, etc.
Primary
The primary type.
As the primary unit for predicting, indexing and search serving, a
[Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
[Product][google.cloud.retail.v2.Product] is grouped with multiple
[Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product]s.
Unspecified
Default value. Default to
[Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if unset.
Variant
The variant type.
[Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product]s usually share some common
attributes on the same
[Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
[Product][google.cloud.retail.v2.Product]s, but they have variant
attributes like different colors, sizes and prices, etc.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eType\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, detailing the different product types available.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is for version 2.12.0, with several other versions from 1.0.0 through to 2.11.0 also being provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eType\u003c/code\u003e enum defines four distinct product types: \u003ccode\u003eCollection\u003c/code\u003e, \u003ccode\u003ePrimary\u003c/code\u003e, \u003ccode\u003eUnspecified\u003c/code\u003e, and \u003ccode\u003eVariant\u003c/code\u003e, each with a specific definition and relationship to one another.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePrimary\u003c/code\u003e is the default type for predicting and indexing, whereas \u003ccode\u003eVariant\u003c/code\u003e shares attributes with \u003ccode\u003ePrimary\u003c/code\u003e, but with distinctions, such as size or color.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCollection\u003c/code\u003e type products are a bundle of \u003ccode\u003ePrimary\u003c/code\u003e or \u003ccode\u003eVariant\u003c/code\u003e products that are sold together as a set.\u003c/p\u003e\n"]]],[],null,[]]