View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2PredictResponsePredictionResult (google_api_retail v0.19.1)
PredictionResult represents the recommendation prediction results.
Attributes
-
id
(type:String.t
, default:nil
) - ID of the recommended product -
metadata
(type:map()
, default:nil
) - Additional product metadata / annotations. Possible values:product
: JSON representation of the product. Is set ifreturnProduct
is set to true inPredictRequest.params
.score
: Prediction score in double value. Is set ifreturnScore
is set to true inPredictRequest.params
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.