public sealed class RecommendResponse : IMessage<RecommendResponse>, IEquatable<RecommendResponse>, IDeepCloneable<RecommendResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class RecommendResponse.
A unique attribution token. This should be included in the
[UserEvent][google.cloud.discoveryengine.v1beta.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 \u003ccode\u003eRecommendResponse\u003c/code\u003e class is part of the Discovery Engine v1beta API, used for responses to the \u003ccode\u003eRecommend\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \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\u003e\u003ccode\u003eRecommendResponse\u003c/code\u003e includes properties like \u003ccode\u003eAttributionToken\u003c/code\u003e, \u003ccode\u003eMissingIds\u003c/code\u003e, \u003ccode\u003eResults\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, providing data about the recommendation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResults\u003c/code\u003e property is a list of recommended documents ordered by relevance.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available in two versions, latest(1.0.0-beta18) and 1.0.0-beta17, both with the same properties and methods.\u003c/p\u003e\n"]]],[],null,[]]