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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This document provides reference information for the `PredictionResult` class within the Google Cloud Retail v2 API, detailing its structure and functionality."],["The latest version of the `PredictionResult` class is 2.12.0, and the document includes links to historical versions ranging from 1.0.0 to the most current release."],["`PredictionResult` represents the outcome of a prediction made by the Retail API and can inherit methods from Object and implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["The class includes properties such as `Id`, which is the identifier of the recommended product, and `Metadata`, which contains supplementary information like product details or a prediction score."],["The `PredictionResult` class offers two constructors: a parameterless one for default initialization and another that accepts a `PredictResponse.Types.PredictionResult` object to copy its properties."]]],[]]