View Source GoogleApi.CloudSearch.V1.Model.Interaction (google_api_cloud_search v0.23.1)

Represents an interaction between a user and an item.

Attributes

  • interactionTime (type: DateTime.t, default: nil) - The time when the user acted on the item. If multiple actions of the same type exist for a single user, only the most recent action is recorded.
  • principal (type: GoogleApi.CloudSearch.V1.Model.Principal.t, default: nil) - The user that acted on the item.
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.Interaction{
  interactionTime: DateTime.t() | nil,
  principal: GoogleApi.CloudSearch.V1.Model.Principal.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.