public sealed class RecommendResponse : IMessage<RecommendResponse>, IEquatable<RecommendResponse>, IDeepCloneable<RecommendResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class RecommendResponse.
A unique attribution token. This should be included in the
[UserEvent][google.cloud.discoveryengine.v1.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"]],[["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 latest version of the \u003ccode\u003eRecommendResponse\u003c/code\u003e API class is 1.6.0, with multiple prior versions available, including 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.0, and 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendResponse\u003c/code\u003e is a class that provides the response message for the \u003ccode\u003eRecommend\u003c/code\u003e method in the Discovery Engine v1 API, which inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eAttributionToken\u003c/code\u003e for tracking model performance, \u003ccode\u003eMissingIds\u003c/code\u003e for identifying documents missing from the default Branch, \u003ccode\u003eResults\u003c/code\u003e for listing recommended documents, and \u003ccode\u003eValidateOnly\u003c/code\u003e to indicate if the \u003ccode\u003eRecommendRequest.validate_only\u003c/code\u003e flag was set.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, a default one and one that takes another \u003ccode\u003eRecommendResponse\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendResponse\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace and is located within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]