google_api_games v0.5.0 GoogleApi.Games.V1.Model.EventRecordRequest View Source

This is a JSON template for an event period update resource.

Attributes

  • currentTimeMillis (type: String.t, default: nil) - The current time when this update was sent, in milliseconds, since 1970 UTC (Unix Epoch).
  • kind (type: String.t, default: games#eventRecordRequest) - Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordRequest.
  • requestId (type: String.t, default: nil) - The request ID used to identify this attempt to record events.
  • timePeriods (type: list(GoogleApi.Games.V1.Model.EventPeriodUpdate.t), default: nil) - A list of the time period updates being made in this request.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Games.V1.Model.EventRecordRequest{
  currentTimeMillis: String.t(),
  kind: String.t(),
  requestId: String.t(),
  timePeriods: [GoogleApi.Games.V1.Model.EventPeriodUpdate.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.