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 \u003ccode\u003eRecommendResponse\u003c/code\u003e class is part of the Google Cloud Discovery Engine v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class serves as the response message for the \u003ccode\u003eRecommend\u003c/code\u003e method, providing a list of recommended documents, identified by the \u003ccode\u003eResults\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendResponse\u003c/code\u003e class includes an \u003ccode\u003eAttributionToken\u003c/code\u003e property to track the performance of the recommendation model, to be added in user event logs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMissingIds\u003c/code\u003e property in the \u003ccode\u003eRecommendResponse\u003c/code\u003e class lists the document IDs that were requested but not found in the associated ServingConfig.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidateOnly\u003c/code\u003e property indicates if the request was a dry-run, meaning the \u003ccode\u003eRecommendRequest.validate_only\u003c/code\u003e flag was enabled.\u003c/p\u003e\n"]]],[],null,[]]