class Google::Apis::GamesManagementV1management::PlayerScoreResetResponse

This is a JSON template for a list of reset leaderboard entry resources.

Attributes

definition_id[RW]

The ID of an leaderboard for which player state has been updated. Corresponds to the JSON property `definitionId` @return [String]

kind[RW]

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

reset_score_time_spans[RW]

The time spans of the updated score. Possible values are:

  • “ALL_TIME” - The score is an all-time score.

  • “WEEKLY” - The score is a weekly score.

  • “DAILY” - The score is a daily score.

Corresponds to the JSON property `resetScoreTimeSpans` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_management_v1management/classes.rb, line 468
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 473
def update!(**args)
  @definition_id = args[:definition_id] if args.key?(:definition_id)
  @kind = args[:kind] if args.key?(:kind)
  @reset_score_time_spans = args[:reset_score_time_spans] if args.key?(:reset_score_time_spans)
end