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\u003eThis documentation page covers the \u003ccode\u003eRecommendResponse.Types.RecommendationResult\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendationResult\u003c/code\u003e represents a single recommendation with associated metadata, implementing interfaces like \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 contains properties for retrieving the recommended \u003ccode\u003eDocument\u003c/code\u003e, its \u003ccode\u003eId\u003c/code\u003e, and additional \u003ccode\u003eMetadata\u003c/code\u003e like recommendation scores.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create a \u003ccode\u003eRecommendationResult\u003c/code\u003e object from scratch or by cloning an existing \u003ccode\u003eRecommendationResult\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has multiple versions of the API available, ranging from 1.0.0-beta06 up to the latest version, 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]