Class GoogleCloudRetailV2PredictResponsePredictionResult
PredictionResult represents the recommendation prediction results.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2PredictResponsePredictionResult : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
ID of the recommended product
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Additional product metadata / annotations. Possible values: * product: JSON representation of the product.
Is set if returnProduct is set to true in PredictRequest.params. * score: Prediction score in double
value. Is set if returnScore is set to true in PredictRequest.params.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |