Retail V2 API - Module Google::Cloud::Retail::V2::Product::Type (v2.8.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Retail V2 API module Google::Cloud::Retail::V2::Product::Type.
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.
[[["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 2026-04-03 UTC."],[],[]]