Class GoogleCloudRetailV2PredictResponsePredictionResult
PredictionResult represents the recommendation prediction results.
Inheritance
System.Object
GoogleCloudRetailV2PredictResponsePredictionResult
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|
| System.String |
Id
ID of the recommended product
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Metadata
Additional product metadata / annotations. Possible values: * product: JSON representation of the product.
Will be set if returnProduct is set to true in PredictRequest.params. * score: Prediction score in
double value. Will be 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 |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.Object> |
Implements
Google.Apis.Requests.IDirectResponseSchema