public sealed class PredictResponse : IMessage<PredictResponse>, IEquatable<PredictResponse>, IDeepCloneable<PredictResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class PredictResponse.
A unique attribution token. This should be included in the
[UserEvent][google.cloud.retail.v2.UserEvent] logs resulting from this
recommendation, which enables accurate attribution of recommendation model
performance.
[[["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-03-21 UTC."],[[["This page provides reference documentation for the `PredictResponse` class within the Google Cloud Retail v2 API, detailing its structure and functionality."],["The latest version of the `PredictResponse` documentation is version 2.12.0, with a range of previous versions available from 1.0.0 up to that version, while the version that this page is specifically on is 2.7.0."],["`PredictResponse` is a sealed class that implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which supports handling responses from prediction requests in the Retail API."],["The class includes properties like `AttributionToken` for tracking model performance, `MissingIds` for identifying absent products, `Results` for the list of recommendations, and `ValidateOnly` for confirming request validation status."],["The `PredictResponse` class can be constructed either through a default constructor or by using another instance of `PredictResponse` as a parameter."]]],[]]