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 Recommendations AI v1beta1 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 \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class in the Recommendations AI v1beta1 API represents the results of a recommendation prediction.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a constructor for creating new \u003ccode\u003ePredictionResult\u003c/code\u003e objects and another for creating them from existing \u003ccode\u003ePredictionResult\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eId\u003c/code\u003e property stores the identifier of the recommended catalog item, while the \u003ccode\u003eItemMetadata\u003c/code\u003e property holds additional metadata, such as the JSON representation of the catalog item and prediction scores.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available within the \u003ccode\u003eGoogle.Cloud.RecommendationEngine.V1Beta1\u003c/code\u003e namespace, and its latest version is accessible under \u003ccode\u003e2.0.0-beta06\u003c/code\u003e, while previous versions such as \u003ccode\u003e2.0.0-beta05\u003c/code\u003e and \u003ccode\u003e1.0.0-beta03\u003c/code\u003e are also available.\u003c/p\u003e\n"]]],[],null,[]]