public sealed class PredictResponse : IMessage<PredictResponse>, IEquatable<PredictResponse>, IDeepCloneable<PredictResponse>, IBufferMessage, IMessage
A unique attribution token. This should be included in the
[UserEvent][google.cloud.retail.v2.UserEvent] logs resulting from this
recommendation, which enables accurate attribution of recommendation model
performance.
[[["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 outlines the \u003ccode\u003ePredictResponse\u003c/code\u003e class, which is a response message for the predict method in the Google Cloud Retail V2 API, available in various versions from 1.0.0 to 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictResponse\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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, among others, to enable message handling, equality comparisons, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictResponse\u003c/code\u003e class has several properties, including \u003ccode\u003eAttributionToken\u003c/code\u003e (a unique token for tracking model performance), \u003ccode\u003eMissingIds\u003c/code\u003e (IDs of missing products), \u003ccode\u003eResults\u003c/code\u003e (a list of recommended products), and \u003ccode\u003eValidateOnly\u003c/code\u003e (a boolean to indicate validation status).\u003c/p\u003e\n"],["\u003cp\u003eConstructors for the \u003ccode\u003ePredictResponse\u003c/code\u003e class include a default constructor and one that takes another \u003ccode\u003ePredictResponse\u003c/code\u003e object as a parameter, allowing for object creation and cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e, and it is contained within the \u003ccode\u003eGoogle.Cloud.Retail.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]