class Google::Apis::GamesV1::PeerSessionDiagnostics

This is a JSON template for peer session diagnostics.

Attributes

connected_timestamp_millis[RW]

Connected time in milliseconds. Corresponds to the JSON property `connectedTimestampMillis` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#peerSessionDiagnostics. Corresponds to the JSON property `kind` @return [String]

participant_id[RW]

The participant ID of the peer. Corresponds to the JSON property `participantId` @return [String]

reliable_channel[RW]

This is a JSON template for peer channel diagnostics. Corresponds to the JSON property `reliableChannel` @return [Google::Apis::GamesV1::PeerChannelDiagnostics]

unreliable_channel[RW]

This is a JSON template for peer channel diagnostics. Corresponds to the JSON property `unreliableChannel` @return [Google::Apis::GamesV1::PeerChannelDiagnostics]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 1932
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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