Response message for predict method.
JSON representation |
---|
{
"results": [
{
object ( |
Fields | |
---|---|
results[] |
A list of recommended products. The order represents the ranking (from the most relevant product to the least). |
attributionToken |
A unique attribution token. This should be included in the |
missingIds[] |
IDs of products in the request that were missing from the inventory. |
validateOnly |
True if the validateOnly property was set in the request. |
PredictionResult
PredictionResult represents the recommendation prediction results.
JSON representation |
---|
{ "id": string, "metadata": { string: value, ... } } |
Fields | |
---|---|
id |
ID of the recommended product |
metadata |
Additional product metadata / annotations. Possible values:
|