View Source GoogleApi.Content.V21.Model.GenerateRecommendationsResponse (google_api_content v0.67.1)

Response containing generated recommendations.

Attributes

  • recommendations (type: list(GoogleApi.Content.V21.Model.Recommendation.t), default: nil) - Recommendations generated for a request.
  • responseToken (type: String.t, default: nil) - Output only. Response token is a string created for each GenerateRecommendationsResponse. This token doesn't expire, and is globally unique. This token must be used when reporting interactions for recommendations.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.GenerateRecommendationsResponse{
  recommendations: [GoogleApi.Content.V21.Model.Recommendation.t()] | nil,
  responseToken: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.