If any supported optional fields are provided, we will treat them as a full
override when looking up product information from the catalog. Thus, it is
important to ensure that the overriding fields are accurate and
complete.
All other product fields are ignored and instead populated via catalog
lookup after event ingestion.
Quantity of the product associated with the user event.
For example, this field will be 2 if two products are added to the shopping
cart for purchase-complete event. Required for add-to-cart and
purchase-complete event types.
[[["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 document provides reference information for the \u003ccode\u003eProductDetail\u003c/code\u003e class within the Google Cloud Retail V2 API, detailing its structure, inheritance, and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProductDetail\u003c/code\u003e class is used to represent detailed product information associated with a user event, and it implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the Google.Cloud.Retail.V2 is version 2.12.0, with the provided content being for version 2.6.0, which include details on the constructor, properties, and inheritance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProduct\u003c/code\u003e property within \u003ccode\u003eProductDetail\u003c/code\u003e is a required field, containing information such as the product ID, and optionally allows overriding product details like \u003ccode\u003eprice_info\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantity\u003c/code\u003e property in \u003ccode\u003eProductDetail\u003c/code\u003e indicates the number of products involved in an event and is essential for events like \u003ccode\u003eadd-to-cart\u003c/code\u003e and \u003ccode\u003epurchase-complete\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]