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,["# Discovery Engine v1beta API - Class RecommendResponse (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse) \n\n public sealed class RecommendResponse : IMessage\u003cRecommendResponse\u003e, IEquatable\u003cRecommendResponse\u003e, IDeepCloneable\u003cRecommendResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class RecommendResponse.\n\nResponse message for Recommend method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RecommendResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RecommendResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RecommendResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RecommendResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RecommendResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### RecommendResponse()\n\n public RecommendResponse()\n\n### RecommendResponse(RecommendResponse)\n\n public RecommendResponse(RecommendResponse other)\n\nProperties\n----------\n\n### AttributionToken\n\n public string AttributionToken { get; set; }\n\nA unique attribution token. This should be included in the\n\\[UserEvent\\]\\[google.cloud.discoveryengine.v1beta.UserEvent\\] logs resulting\nfrom this recommendation, which enables accurate attribution of\nrecommendation model performance.\n\n### MissingIds\n\n public RepeatedField\u003cstring\u003e MissingIds { get; }\n\nIDs of documents in the request that were missing from the default Branch\nassociated with the requested ServingConfig.\n\n### Results\n\n public RepeatedField\u003cRecommendResponse.Types.RecommendationResult\u003e Results { get; }\n\nA list of recommended Documents. The order represents the ranking (from the\nmost relevant Document to the least).\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nTrue if\n\\[RecommendRequest.validate_only\\]\\[google.cloud.discoveryengine.v1beta.RecommendRequest.validate_only\\]\nwas set."]]