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"]],[["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 2025-03-21 UTC."],[[["This webpage details the `ProductDetail` class within the `Google.Cloud.Retail.V2` namespace, which is used to represent detailed product information in user events."],["The latest version available for the `ProductDetail` class is 2.12.0, with several previous versions also accessible, including versions as far back as 1.0.0."],["The `ProductDetail` class implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `Object` class."],["Key properties of the `ProductDetail` class include `Product`, which contains product information and is a required field, and `Quantity`, which is the number of products in the event and is required for specific event types."],["The `ProductDetail` class contains two constructors, a parameterless constructor and one that accepts another instance of the `ProductDetail` class."]]],[]]