class Google::Apis::GamesV1::PeerChannelDiagnostics
This is a JSON template for peer channel diagnostics.
Attributes
This is a JSON template for aggregate stats. Corresponds to the JSON property `bytesReceived` @return [Google::Apis::GamesV1::AggregateStats]
This is a JSON template for aggregate stats. Corresponds to the JSON property `bytesSent` @return [Google::Apis::GamesV1::AggregateStats]
Uniquely identifies the type of this resource. Value is always the fixed string games#peerChannelDiagnostics. Corresponds to the JSON property `kind` @return [String]
Number of messages lost. Corresponds to the JSON property `numMessagesLost` @return [Fixnum]
Number of messages received. Corresponds to the JSON property `numMessagesReceived` @return [Fixnum]
Number of messages sent. Corresponds to the JSON property `numMessagesSent` @return [Fixnum]
Number of send failures. Corresponds to the JSON property `numSendFailures` @return [Fixnum]
This is a JSON template for aggregate stats. Corresponds to the JSON property `roundtripLatencyMillis` @return [Google::Apis::GamesV1::AggregateStats]
Public Class Methods
# File generated/google/apis/games_v1/classes.rb, line 1885 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_v1/classes.rb, line 1890 def update!(**args) @bytes_received = args[:bytes_received] if args.key?(:bytes_received) @bytes_sent = args[:bytes_sent] if args.key?(:bytes_sent) @kind = args[:kind] if args.key?(:kind) @num_messages_lost = args[:num_messages_lost] if args.key?(:num_messages_lost) @num_messages_received = args[:num_messages_received] if args.key?(:num_messages_received) @num_messages_sent = args[:num_messages_sent] if args.key?(:num_messages_sent) @num_send_failures = args[:num_send_failures] if args.key?(:num_send_failures) @roundtrip_latency_millis = args[:roundtrip_latency_millis] if args.key?(:roundtrip_latency_millis) end