public sealed class PredictResponse : IMessage<PredictResponse>, IEquatable<PredictResponse>, IDeepCloneable<PredictResponse>, IBufferMessage, IMessage
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 document outlines the `PredictResponse` class, which is a response message for the predict method within the Google Cloud Retail V2 API, available in various versions from 1.0.0 to 2.12.0."],["The `PredictResponse` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, for enhanced functionality and compatibility."],["Key properties of the `PredictResponse` class include `AttributionToken` for tracking recommendation performance, `MissingIds` to identify products missing from inventory, `Results` which contains a list of ranked recommended products, and `ValidateOnly` to indicate if validation was performed."],["The PredictResponse class can be constructed in two ways, using the `PredictResponse()` constructor or by passing an existing `PredictResponse` object into the `PredictResponse(PredictResponse other)` constructor."],["This page documents the class as it appears in the Google Cloud Retail V2 assembly called Google.Cloud.Retail.V2.dll."]]],[]]