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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage documents the \u003ccode\u003eType\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, specifically detailing the different product types for the Google Cloud Retail API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.12.0, with a history of versions dating back to 1.0.0, and all of them are available for viewing.\u003c/p\u003e\n"],["\u003cp\u003eThere are four distinct product types defined within the \u003ccode\u003eType\u003c/code\u003e enum: \u003ccode\u003eCollection\u003c/code\u003e, \u003ccode\u003ePrimary\u003c/code\u003e, \u003ccode\u003eUnspecified\u003c/code\u003e, and \u003ccode\u003eVariant\u003c/code\u003e, each with specific descriptions regarding their usage in product organization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e type defaults to the \u003ccode\u003ePrimary\u003c/code\u003e type if not explicitly set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCollection\u003c/code\u003e products are bundled primary or variant products, and \u003ccode\u003eVariant\u003c/code\u003e products share attributes with the same primary product, but have differences in attributes.\u003c/p\u003e\n"]]],[],null,[]]