Show / Hide Table of Contents

Class GoogleCloudRetailV2PredictResponse

Response message for predict method.

Inheritance
System.Object
GoogleCloudRetailV2PredictResponse
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 GoogleCloudRetailV2PredictResponse : IDirectResponseSchema

Properties

AttributionToken

A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.

Declaration
[JsonProperty("attributionToken")]
public virtual string AttributionToken { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

MissingIds

IDs of products in the request that were missing from the inventory.

Declaration
[JsonProperty("missingIds")]
public virtual IList<string> MissingIds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Results

A list of recommended products. The order represents the ranking (from the most relevant product to the least).

Declaration
[JsonProperty("results")]
public virtual IList<GoogleCloudRetailV2PredictResponsePredictionResult> Results { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<GoogleCloudRetailV2PredictResponsePredictionResult>

ValidateOnly

True if the validateOnly property was set in the request.

Declaration
[JsonProperty("validateOnly")]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top