class Google::Apis::GamesV1::PeerSessionDiagnostics
This is a JSON template for peer session diagnostics.
Attributes
Connected time in milliseconds. Corresponds to the JSON property `connectedTimestampMillis` @return [String]
Uniquely identifies the type of this resource. Value is always the fixed string games#peerSessionDiagnostics. Corresponds to the JSON property `kind` @return [String]
The participant ID of the peer. Corresponds to the JSON property `participantId` @return [String]
This is a JSON template for peer channel diagnostics. Corresponds to the JSON property `reliableChannel` @return [Google::Apis::GamesV1::PeerChannelDiagnostics]
This is a JSON template for peer channel diagnostics. Corresponds to the JSON property `unreliableChannel` @return [Google::Apis::GamesV1::PeerChannelDiagnostics]
Public Class Methods
# File generated/google/apis/games_v1/classes.rb, line 1932 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_v1/classes.rb, line 1937 def update!(**args) @connected_timestamp_millis = args[:connected_timestamp_millis] if args.key?(:connected_timestamp_millis) @kind = args[:kind] if args.key?(:kind) @participant_id = args[:participant_id] if args.key?(:participant_id) @reliable_channel = args[:reliable_channel] if args.key?(:reliable_channel) @unreliable_channel = args[:unreliable_channel] if args.key?(:unreliable_channel) end