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 page provides documentation for the \u003ccode\u003eRecommendResponse.Types.RecommendationResult\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, with version 1.6.0 being the latest available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendationResult\u003c/code\u003e represents a specific recommendation result, including associated metadata, and is derived from the base \u003ccode\u003eobject\u003c/code\u003e class while also implementing several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be constructed either with no parameters or by providing another \u003ccode\u003eRecommendationResult\u003c/code\u003e instance to create a new instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eRecommendationResult\u003c/code\u003e include \u003ccode\u003eDocument\u003c/code\u003e (which contains the document data if requested), \u003ccode\u003eId\u003c/code\u003e (the resource ID of the recommended document), and \u003ccode\u003eMetadata\u003c/code\u003e (for additional document information like recommendation score).\u003c/p\u003e\n"],["\u003cp\u003eIt implements IMessage, IEquatable, IDeepCloneable, and IBufferMessage interfaces, allowing it to be used in various contexts within the protobuf ecosystem.\u003c/p\u003e\n"]]],[],null,[]]