public sealed class RecommendResponse.Types.RecommendationResult : IMessage<RecommendResponse.Types.RecommendationResult>, IEquatable<RecommendResponse.Types.RecommendationResult>, IDeepCloneable<RecommendResponse.Types.RecommendationResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class RecommendResponse.Types.RecommendationResult.
RecommendationResult represents a generic recommendation result with
associated metadata.
score: Recommendation score in double value. Is set if
returnScore is set to true in
[RecommendRequest.params][google.cloud.discoveryengine.v1.RecommendRequest.params].
[[["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.Types.RecommendationResult\u003c/code\u003e class in the Discovery Engine v1 API represents a recommendation result with associated metadata.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt 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 like \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, and \u003ccode\u003eMetadata\u003c/code\u003e to access details of a recommendation, such as the document itself, its ID, and additional metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is version 1.6.0, however, there are multiple previous versions to the API available for use.\u003c/p\u003e\n"]]],[],null,[]]