public sealed class 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 reference documentation for the \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its functionality for representing recommendation prediction results.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Retail.V2.dll\u003c/code\u003e assembly, with the documentation listing all the available versions for it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionResult\u003c/code\u003e class offers properties like \u003ccode\u003eId\u003c/code\u003e to store the ID of a recommended product and \u003ccode\u003eMetadata\u003c/code\u003e for additional information such as the JSON representation of the product or a prediction score.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements various interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its compatibility and usability within .NET environments, and it shows the inherited members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]