public sealed class PredictResponse.Types.PredictionResult : IMessage<PredictResponse.Types.PredictionResult>, IEquatable<PredictResponse.Types.PredictionResult>, IDeepCloneable<PredictResponse.Types.PredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class PredictResponse.Types.PredictionResult.
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 content provides documentation for the \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class in the Google Cloud Retail V2 API, detailing its role in representing recommendation prediction results.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class available, ranging from version 1.0.0 to the latest 2.12.0, with version 2.12.0 being the most current.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionResult\u003c/code\u003e class 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, enabling functionalities like message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePredictionResult\u003c/code\u003e class include \u003ccode\u003eId\u003c/code\u003e, representing the recommended product's ID, and \u003ccode\u003eMetadata\u003c/code\u003e, providing additional information such as the product's JSON representation and prediction score.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a default constructor \u003ccode\u003ePredictionResult()\u003c/code\u003e as well as one that takes another instance of \u003ccode\u003ePredictionResult\u003c/code\u003e to copy.\u003c/p\u003e\n"]]],[],null,[]]