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 represents a recommendation result with metadata within the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, supporting various functionalities including message handling and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationResult\u003c/code\u003e class provides properties like \u003ccode\u003eDocument\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, and \u003ccode\u003eMetadata\u003c/code\u003e to access the recommended document, its resource ID, and additional metadata, respectively.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating new \u003ccode\u003eRecommendationResult\u003c/code\u003e instances, including one that allows for copying an existing \u003ccode\u003eRecommendationResult\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace and is documented across multiple versions, from 1.0.0-beta06 to the latest 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]