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\u003eThis document provides reference information for the \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its role in representing recommendation prediction results.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.12.0, and the document offers a comprehensive list of prior versions, ranging from 2.11.0 to 1.0.0, with each version's corresponding documentation link.\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, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePredictionResult\u003c/code\u003e class include \u003ccode\u003eId\u003c/code\u003e for the recommended product's ID and \u003ccode\u003eMetadata\u003c/code\u003e for additional product information like a JSON product representation and the prediction score.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available, a default constructor and one that accepts another instance of \u003ccode\u003ePredictionResult\u003c/code\u003e for cloning.\u003c/p\u003e\n"]]],[],null,[]]