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 within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, which represents the results of a recommendation prediction, and is found in the Google.Cloud.Retail.V2.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionResult\u003c/code\u003e class can be constructed either as a default instance with \u003ccode\u003ePredictionResult()\u003c/code\u003e or by copying another \u003ccode\u003ePredictionResult\u003c/code\u003e object with \u003ccode\u003ePredictionResult(PredictResponse.Types.PredictionResult other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties, \u003ccode\u003eId\u003c/code\u003e which is a string representing the ID of the recommended product and \u003ccode\u003eMetadata\u003c/code\u003e which is a map field containing additional product information like a JSON representation of the product or its prediction score.\u003c/p\u003e\n"],["\u003cp\u003eMultiple version of the documentation is available, with version 2.12.0 being the latest and versions ranging down to 1.0.0 all of which refer to \u003ccode\u003ePredictionResult\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]