Class: Google::Apis::GamesV1::RoomModification
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesV1::RoomModification
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb 
Overview
This is a JSON template for room modification metadata.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 - 
  
    
      #modified_timestamp_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The timestamp at which they modified the room, in milliseconds since the epoch in UTC.
 - 
  
    
      #participant_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the participant that modified the room.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RoomModification 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RoomModification.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RoomModification
Returns a new instance of RoomModification
      3592 3593 3594  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3592 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#roomModification.
Corresponds to the JSON property kind
      3579 3580 3581  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3579 def kind @kind end  | 
  
#modified_timestamp_millis ⇒ Fixnum
The timestamp at which they modified the room, in milliseconds since the epoch
in UTC.
Corresponds to the JSON property modifiedTimestampMillis
      3585 3586 3587  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3585 def @modified_timestamp_millis end  | 
  
#participant_id ⇒ String
The ID of the participant that modified the room.
Corresponds to the JSON property participantId
      3590 3591 3592  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3590 def participant_id @participant_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3597 3598 3599 3600 3601  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3597 def update!(**args) @kind = args[:kind] if args.key?(:kind) @modified_timestamp_millis = args[:modified_timestamp_millis] if args.key?(:modified_timestamp_millis) @participant_id = args[:participant_id] if args.key?(:participant_id) end  |