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.
Implements
IMessageRecommendResponseTypesRecommendationResult, IEquatableRecommendResponseTypesRecommendationResult, IDeepCloneableRecommendResponseTypesRecommendationResult, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
RecommendationResult()
public RecommendationResult()
RecommendationResult(RecommendationResult)
public RecommendationResult(RecommendResponse.Types.RecommendationResult other)
Parameter | |
---|---|
Name | Description |
other |
RecommendResponseTypesRecommendationResult |
Properties
Document
public Document Document { get; set; }
Set if returnDocument
is set to true in
[RecommendRequest.params][google.cloud.discoveryengine.v1beta.RecommendRequest.params].
Property Value | |
---|---|
Type | Description |
Document |
Id
public string Id { get; set; }
Resource ID of the recommended Document.
Property Value | |
---|---|
Type | Description |
string |
Metadata
public MapField<string, Value> Metadata { get; }
Additional Document metadata / annotations.
Possible values:
score
: Recommendation score in double value. Is set ifreturnScore
is set to true in [RecommendRequest.params][google.cloud.discoveryengine.v1beta.RecommendRequest.params].
Property Value | |
---|---|
Type | Description |
MapFieldstringValue |