public sealed class PredictionResult : IMessage<PredictResponse.Types.PredictionResult>, IEquatable<PredictResponse.Types.PredictionResult>, IDeepCloneable<PredictResponse.Types.PredictionResult>, IBufferMessage, IMessagePredictionResult represents the recommendation prediction results.
Implements
IMessage<PredictResponse.Types.PredictionResult>, IEquatable<PredictResponse.Types.PredictionResult>, IDeepCloneable<PredictResponse.Types.PredictionResult>, IBufferMessage, IMessageNamespace
Google.Cloud.RecommendationEngine.V1Beta1Assembly
Google.Cloud.RecommendationEngine.V1Beta1.dll
Constructors
PredictionResult()
public PredictionResult()PredictionResult(PredictResponse.Types.PredictionResult)
public PredictionResult(PredictResponse.Types.PredictionResult other)| Parameter | |
|---|---|
| Name | Description |
other |
PredictResponse.Types.PredictionResult |
Properties
Id
public string Id { get; set; }ID of the recommended catalog item
| Property Value | |
|---|---|
| Type | Description |
String |
|
ItemMetadata
public MapField<string, Value> ItemMetadata { get; }Additional item metadata / annotations.
Possible values:
catalogItem: JSON representation of the catalogItem. Will be set ifreturnCatalogItemis set to true inPredictRequest.params.score: Prediction score in double value. Will be set ifreturnItemScoreis set to true inPredictRequest.params.
| Property Value | |
|---|---|
| Type | Description |
MapField<String, Value> |
|