class Google::Apis::GamesV1::RoomLeaveDiagnostics

This is a JSON template for room leave diagnostics.

Attributes

android_network_subtype[RW]

Android network subtype. developer.android.com/reference/android/net/ NetworkInfo.html#getSubtype() Corresponds to the JSON property `androidNetworkSubtype` @return [Fixnum]

android_network_type[RW]

Android network type. developer.android.com/reference/android/net/ NetworkInfo.html#getType() Corresponds to the JSON property `androidNetworkType` @return [Fixnum]

ios_network_type[RW]

iOS network type as defined in Reachability.h. Corresponds to the JSON property `iosNetworkType` @return [Fixnum]

kind[RW]

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

network_operator_code[RW]

The MCC+MNC code for the client's network connection. On Android: http:// developer.android.com/reference/android/telephony/TelephonyManager.html# getNetworkOperator() On iOS, see: developer.apple.com/library/ios/ documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html Corresponds to the JSON property `networkOperatorCode` @return [String]

network_operator_name[RW]

The name of the carrier of the client's network connection. On Android: http:// developer.android.com/reference/android/telephony/TelephonyManager.html# getNetworkOperatorName() On iOS: developer.apple.com/library/ios/ documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#/ /apple_ref/occ/instp/CTCarrier/carrierName Corresponds to the JSON property `networkOperatorName` @return [String]

peer_session[RW]

Diagnostics about all peer sessions. Corresponds to the JSON property `peerSession` @return [Array<Google::Apis::GamesV1::PeerSessionDiagnostics>]

sockets_used[RW]

Whether or not sockets were used. Corresponds to the JSON property `socketsUsed` @return [Boolean]

sockets_used?[RW]

Whether or not sockets were used. Corresponds to the JSON property `socketsUsed` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 3433
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 3438
def update!(**args)
  @android_network_subtype = args[:android_network_subtype] if args.key?(:android_network_subtype)
  @android_network_type = args[:android_network_type] if args.key?(:android_network_type)
  @ios_network_type = args[:ios_network_type] if args.key?(:ios_network_type)
  @kind = args[:kind] if args.key?(:kind)
  @network_operator_code = args[:network_operator_code] if args.key?(:network_operator_code)
  @network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name)
  @peer_session = args[:peer_session] if args.key?(:peer_session)
  @sockets_used = args[:sockets_used] if args.key?(:sockets_used)
end