public sealed class PredictionResult : IMessage<PredictResponse.Types.PredictionResult>, IEquatable<PredictResponse.Types.PredictionResult>, IDeepCloneable<PredictResponse.Types.PredictionResult>, IBufferMessage, IMessage
PredictionResult represents the recommendation prediction results.
[[["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 webpage details the \u003ccode\u003ePredictionResult\u003c/code\u003e class, which represents the results of a recommendation prediction within the Google Cloud Retail V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.12.0, but the page lists versions back to 1.0.0, showing the evolution of the class over multiple updates.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionResult\u003c/code\u003e class contains two key properties, \u003ccode\u003eId\u003c/code\u003e which is the ID of the product, and \u003ccode\u003eMetadata\u003c/code\u003e which contains additional information about the product.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also lists the two constructors, \u003ccode\u003ePredictionResult()\u003c/code\u003e and \u003ccode\u003ePredictionResult(PredictResponse.Types.PredictionResult other)\u003c/code\u003e, that can be used to instantiate objects of the class.\u003c/p\u003e\n"]]],[],null,[]]