Class: Google::Apis::GamesManagementV1management::ScoresResetMultipleForAllRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScoresResetMultipleForAllRequest

Returns a new instance of ScoresResetMultipleForAllRequest.



489
490
491
# File 'generated/google/apis/games_management_v1management/classes.rb', line 489

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#scoresResetMultipleForAllRequest. Corresponds to the JSON property kind

Returns:

  • (String)


482
483
484
# File 'generated/google/apis/games_management_v1management/classes.rb', line 482

def kind
  @kind
end

#leaderboard_idsArray<String>

The IDs of leaderboards to reset. Corresponds to the JSON property leaderboard_ids

Returns:

  • (Array<String>)


487
488
489
# File 'generated/google/apis/games_management_v1management/classes.rb', line 487

def leaderboard_ids
  @leaderboard_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



494
495
496
497
# File 'generated/google/apis/games_management_v1management/classes.rb', line 494

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @leaderboard_ids = args[:leaderboard_ids] if args.key?(:leaderboard_ids)
end