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\u003eThis documentation is for the \u003ccode\u003eRecommendResponse\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically for version 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendResponse\u003c/code\u003e class is a response message used by the Recommend method of the API, and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces including \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 provides properties such as \u003ccode\u003eAttributionToken\u003c/code\u003e, \u003ccode\u003eMissingIds\u003c/code\u003e, \u003ccode\u003eResults\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e to relay information in its response, such as a unique attribution token, any missing document IDs from the request, a list of recommended documents, and if validate only mode was set.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also covers the constructors for \u003ccode\u003eRecommendResponse\u003c/code\u003e namely \u003ccode\u003eRecommendResponse()\u003c/code\u003e and \u003ccode\u003eRecommendResponse(RecommendResponse other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this API available, with 1.6.0 being the most recent, and this document references the 1.1.0 version.\u003c/p\u003e\n"]]],[],null,[]]