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

This is a JSON template for peer channel diagnostics.

Attributes

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

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: any(),
  numMessagesLost: any(),
  numMessagesReceived: any(),
  numMessagesSent: any(),
  numSendFailures: any(),
  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.