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 v1beta 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.v1beta.RecommendRequest.params].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eRecommendResponse.Types.RecommendationResult\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRecommendationResult\u003c/code\u003e is a class that represents a generic recommendation outcome along with its associated metadata, and it inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing several 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 has two constructors, a default constructor \u003ccode\u003eRecommendationResult()\u003c/code\u003e and another constructor \u003ccode\u003eRecommendationResult(RecommendResponse.Types.RecommendationResult other)\u003c/code\u003e that accepts an existing \u003ccode\u003eRecommendationResult\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationResult\u003c/code\u003e class has three properties, \u003ccode\u003eDocument\u003c/code\u003e which returns the Document object if specified in the request, \u003ccode\u003eId\u003c/code\u003e which is the resource identifier of the recommended document and \u003ccode\u003eMetadata\u003c/code\u003e which contains additional document metadata or annotations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRecommendationResult\u003c/code\u003e class is found in the namespace \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]