Class GoogleCloudRetailV2alphaPredictResponsePredictionResult
PredictionResult represents the recommendation prediction results.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaPredictResponsePredictionResult : 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> |