class Google::Apis::GamesManagementV1management::HiddenPlayer

This is a JSON template for the HiddenPlayer resource.

Attributes

hidden_time_millis[RW]

The time this player was hidden. Corresponds to the JSON property `hiddenTimeMillis` @return [String]

kind[RW]

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

player[RW]

This is a JSON template for a Player resource. Corresponds to the JSON property `player` @return [Google::Apis::GamesManagementV1management::Player]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_management_v1management/classes.rb, line 263
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_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