Class PredictResponse.Types.PredictionResult (1.0.0-beta03)

public sealed class PredictionResult : IMessage<PredictResponse.Types.PredictionResult>, IEquatable<PredictResponse.Types.PredictionResult>, IDeepCloneable<PredictResponse.Types.PredictionResult>, IBufferMessage, IMessage

PredictionResult represents the recommendation prediction results.

Inheritance

Object > PredictResponse.Types.PredictionResult

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

Google.Cloud.RecommendationEngine.V1Beta1.dll

Constructors

PredictionResult()

public PredictionResult()

PredictionResult(PredictResponse.Types.PredictionResult)

public PredictionResult(PredictResponse.Types.PredictionResult other)
Parameter
NameDescription
otherPredictResponse.Types.PredictionResult

Properties

Id

public string Id { get; set; }

ID of the recommended catalog item

Property Value
TypeDescription
String

ItemMetadata

public MapField<string, Value> ItemMetadata { get; }

Additional item metadata / annotations.

Possible values:

  • catalogItem: JSON representation of the catalogItem. Will be set if returnCatalogItem is set to true in PredictRequest.params.
  • score: Prediction score in double value. Will be set if returnItemScore is set to true in PredictRequest.params.
Property Value
TypeDescription
MapField<String, Value>