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
The HiddenPlayer resource.
Instance Attribute Summary collapse
-
#hidden_time_millis ⇒ Fixnum
Output only.
-
#kind ⇒ String
Output only.
-
#player ⇒ Google::Apis::GamesManagementV1management::Player
A Player resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HiddenPlayer
constructor
A new instance of HiddenPlayer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HiddenPlayer
Returns a new instance of HiddenPlayer.
233 234 235 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hidden_time_millis ⇒ Fixnum
Output only. The time this player was hidden.
Corresponds to the JSON property hiddenTimeMillis
220 221 222 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 220 def hidden_time_millis @hidden_time_millis end |
#kind ⇒ String
Output only. Uniquely identifies the type of this resource. Value is always
the fixed string gamesManagement#hiddenPlayer
.
Corresponds to the JSON property kind
226 227 228 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 226 def kind @kind end |
#player ⇒ Google::Apis::GamesManagementV1management::Player
A Player resource.
Corresponds to the JSON property player
231 232 233 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 231 def player @player end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
238 239 240 241 242 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 238 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 |