Only [Product.id][google.cloud.retail.v2.Product.id] field is used when
ingesting an event, all other product fields are ignored as we will look
them up from the catalog.
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 page details the \u003ccode\u003eProductDetail\u003c/code\u003e class, which is used to represent detailed information about a product associated with a user event in the Google Cloud Retail V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProductDetail\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Retail.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt provides the properties \u003ccode\u003eProduct\u003c/code\u003e and \u003ccode\u003eQuantity\u003c/code\u003e to specify the related product information and the quantity associated with the event, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this component is 2.12.0, and there are many previous version available back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]