Recommendations AI v1beta1 API - Class PredictResponse.Types.PredictionResult (2.0.0-beta06)

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

Reference documentation and code samples for the Recommendations AI v1beta1 API class PredictResponse.Types.PredictionResult.

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(PredictionResult)

public PredictionResult(PredictResponse.Types.PredictionResult other)
Parameter
Name Description
other PredictResponseTypesPredictionResult

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 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
Type Description
MapFieldstringValue