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

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).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.