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
[Catalog.product_level_config.ingestion_product_type][google.cloud.retail.v2.ProductLevelConfig.ingestion_product_type]
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, detailing the different product types used in the Google Cloud Retail API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available on this page is version 2.12.0, which also provides links to previous versions of documentation going as far back as version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eType\u003c/code\u003e enum defines four product types: \u003ccode\u003eCollection\u003c/code\u003e, which represents bundled products; \u003ccode\u003ePrimary\u003c/code\u003e, which is the main product type; \u003ccode\u003eVariant\u003c/code\u003e, which are products with variations; and \u003ccode\u003eUnspecified\u003c/code\u003e, which is the default value if no type is set.\u003c/p\u003e\n"],["\u003cp\u003eEach product type has a description, explaining how they are grouped, such as \u003ccode\u003eCollection\u003c/code\u003e products being a bundle of \u003ccode\u003ePrimary\u003c/code\u003e or \u003ccode\u003eVariant\u003c/code\u003e products, and \u003ccode\u003eVariant\u003c/code\u003e products having differing attributes, but related to a \u003ccode\u003ePrimary\u003c/code\u003e product.\u003c/p\u003e\n"]]],[],null,[]]