google_api_games v0.8.0 GoogleApi.Games.V1.Model.PeerChannelDiagnostics View Source

This is a JSON template for peer channel diagnostics.

Attributes

  • bytesReceived (type: GoogleApi.Games.V1.Model.AggregateStats.t, default: nil) - Number of bytes received.
  • bytesSent (type: GoogleApi.Games.V1.Model.AggregateStats.t, default: nil) - Number of bytes sent.
  • kind (type: String.t, default: games#peerChannelDiagnostics) - Uniquely identifies the type of this resource. Value is always the fixed string games#peerChannelDiagnostics.
  • numMessagesLost (type: integer(), default: nil) - Number of messages lost.
  • numMessagesReceived (type: integer(), default: nil) - Number of messages received.
  • numMessagesSent (type: integer(), default: nil) - Number of messages sent.
  • numSendFailures (type: integer(), default: nil) - Number of send failures.
  • roundtripLatencyMillis (type: GoogleApi.Games.V1.Model.AggregateStats.t, default: nil) - Roundtrip latency stats in milliseconds.

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.PeerChannelDiagnostics{
  bytesReceived: GoogleApi.Games.V1.Model.AggregateStats.t(),
  bytesSent: GoogleApi.Games.V1.Model.AggregateStats.t(),
  kind: String.t(),
  numMessagesLost: integer(),
  numMessagesReceived: integer(),
  numMessagesSent: integer(),
  numSendFailures: integer(),
  roundtripLatencyMillis: GoogleApi.Games.V1.Model.AggregateStats.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.