Class: Google::Apis::GamesManagementV1management::HiddenPlayer
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesManagementV1management::HiddenPlayer
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/games_management_v1management/classes.rb,
generated/google/apis/games_management_v1management/representations.rb,
generated/google/apis/games_management_v1management/representations.rb 
Overview
This is a JSON template for the HiddenPlayer resource.
Instance Attribute Summary collapse
- 
  
    
      #hidden_time_millis  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time this player was hidden.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 - 
  
    
      #player  ⇒ Google::Apis::GamesManagementV1management::Player 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is a JSON template for a Player resource.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HiddenPlayer 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of HiddenPlayer.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HiddenPlayer
Returns a new instance of HiddenPlayer
      263 264 265  | 
    
      # File 'generated/google/apis/games_management_v1management/classes.rb', line 263 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#hidden_time_millis ⇒ Fixnum
The time this player was hidden.
Corresponds to the JSON property hiddenTimeMillis
      250 251 252  | 
    
      # File 'generated/google/apis/games_management_v1management/classes.rb', line 250 def hidden_time_millis @hidden_time_millis end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesManagement#hiddenPlayer.
Corresponds to the JSON property kind
      256 257 258  | 
    
      # File 'generated/google/apis/games_management_v1management/classes.rb', line 256 def kind @kind end  | 
  
#player ⇒ Google::Apis::GamesManagementV1management::Player
This is a JSON template for a Player resource.
Corresponds to the JSON property player
      261 262 263  | 
    
      # File 'generated/google/apis/games_management_v1management/classes.rb', line 261 def player @player end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      268 269 270 271 272  | 
    
      # File 'generated/google/apis/games_management_v1management/classes.rb', line 268 def update!(**args) @hidden_time_millis = args[:hidden_time_millis] if args.key?(:hidden_time_millis) @kind = args[:kind] if args.key?(:kind) @player = args[:player] if args.key?(:player) end  |