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\u003eThe latest version available for \u003ccode\u003ePredictResponse\u003c/code\u003e within the Google.Cloud.Retail.V2 namespace is version 2.12.0, with multiple previous versions listed, ranging from 2.11.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictResponse\u003c/code\u003e is a class that serves as a response message for the predict method, implementing multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictResponse\u003c/code\u003e class contains properties such as \u003ccode\u003eAttributionToken\u003c/code\u003e (a string for tracking model performance), \u003ccode\u003eMissingIds\u003c/code\u003e (a list of missing product IDs), \u003ccode\u003eResults\u003c/code\u003e (a list of recommended products), and \u003ccode\u003eValidateOnly\u003c/code\u003e (a boolean indicating if validation was requested).\u003c/p\u003e\n"],["\u003cp\u003eThe PredictResponse object can be instantiated either as empty or by copying another PredictResponse instance into it, via the use of its constructors.\u003c/p\u003e\n"]]],[],null,[]]