class Google::Apis::GamesV1::RoomP2PStatuses
This is a JSON template for an update on the status of peers in a room.
Attributes
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string games#roomP2PStatuses. Corresponds to the JSON property `kind` @return [String]
updates[RW]
The updates for the peers. Corresponds to the JSON property `updates` @return [Array<Google::Apis::GamesV1::RoomP2PStatus>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 3653 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 3658 def update!(**args) @kind = args[:kind] if args.key?(:kind) @updates = args[:updates] if args.key?(:updates) end