GoogleApi.Games.V1.Model.EventRecordRequest (google_api_games v0.20.0) View Source

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: nil) - 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

Specs

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

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.