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

Request to report interactions on a recommendation.

Attributes

  • interactionType (type: String.t, default: nil) - Required. Type of the interaction that is reported, for example INTERACTION_CLICK.
  • responseToken (type: String.t, default: nil) - Required. Token of the response when recommendation was returned.
  • subtype (type: String.t, default: nil) - Optional. Subtype of the recommendations this interaction happened on. This field must be set only to the value that is returned by {@link RecommendationsService.GenerateRecommendations} call.
  • type (type: String.t, default: nil) - Required. Type of the recommendations on which this interaction happened. This field must be set only to the value that is returned by {@link GenerateRecommendationsResponse} call.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ReportInteractionRequest{
  interactionType: String.t() | nil,
  responseToken: String.t() | nil,
  subtype: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.