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\u003eThe provided content outlines the \u003ccode\u003ePredictionResult\u003c/code\u003e class, which represents recommendation prediction results in the Google.Cloud.Retail.V2 namespace, across multiple versions, with the latest being 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e inherited from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default (\u003ccode\u003ePredictionResult()\u003c/code\u003e) and another that takes another \u003ccode\u003ePredictionResult\u003c/code\u003e as a parameter (\u003ccode\u003ePredictionResult(PredictResponse.Types.PredictionResult other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e has two properties, \u003ccode\u003eId\u003c/code\u003e, which is a string that represents the recommended product's ID, and \u003ccode\u003eMetadata\u003c/code\u003e, a \u003ccode\u003eMapField\u003c/code\u003e containing additional product metadata, such as the product's JSON representation or a prediction score.\u003c/p\u003e\n"],["\u003cp\u003eThere are many versions of \u003ccode\u003ePredictionResult\u003c/code\u003e documented, ranging from version 1.0.0 to the latest version of 2.12.0.\u003c/p\u003e\n"]]],[],null,[]]