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\u003eThe latest version available for the Retail v2 API's ProductDetail is 2.12.0, with the documentation page showing versions ranging from 1.0.0 up to the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProductDetail\u003c/code\u003e class provides detailed information about a product associated with a user event, implementing interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProductDetail\u003c/code\u003e class can be instantiated with either no parameters or by passing another \u003ccode\u003eProductDetail\u003c/code\u003e object, and it's within the Google.Cloud.Retail.V2 namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProductDetail\u003c/code\u003e has two main properties: \u003ccode\u003eProduct\u003c/code\u003e, which contains required product information, and \u003ccode\u003eQuantity\u003c/code\u003e, representing the number of products involved in the user event.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProduct\u003c/code\u003e property allows for optional field overrides, such as \u003ccode\u003eProduct.price_info\u003c/code\u003e, but these overrides are treated as full replacements for catalog lookups, meaning accuracy and completeness of data are crucial.\u003c/p\u003e\n"]]],[],null,[]]