GoogleApi.RecommendationEngine.V1beta1.Model.GoogleCloudRecommendationengineV1beta1PredictResponse (google_api_recommendation_engine v0.3.1) View Source

Response message for predict method.

Attributes

  • dryRun (type: boolean(), default: nil) - True if the dryRun property was set in the request.
  • itemsMissingInCatalog (type: list(String.t), default: nil) - IDs of items in the request that were missing from the catalog.
  • metadata (type: map(), default: nil) - Additional domain specific prediction response metadata.
  • nextPageToken (type: String.t, default: nil) - If empty, the list is complete. If nonempty, the token to pass to the next request's PredictRequest.page_token.
  • recommendationToken (type: String.t, default: nil) - A unique recommendation token. This should be included in the user event logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.
  • results (type: list(GoogleApi.RecommendationEngine.V1beta1.Model.GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult.t), default: nil) - A list of recommended items. The order represents the ranking (from the most relevant item to the least).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.RecommendationEngine.V1beta1.Model.GoogleCloudRecommendationengineV1beta1PredictResponse{
    dryRun: boolean(),
    itemsMissingInCatalog: [String.t()],
    metadata: map(),
    nextPageToken: String.t(),
    recommendationToken: String.t(),
    results: [
      GoogleApi.RecommendationEngine.V1beta1.Model.GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult.t()
    ]
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.