Class: Google::Apis::GamesManagementV1management::PlayerScoreResetAllResponse

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PlayerScoreResetAllResponse

Returns a new instance of PlayerScoreResetAllResponse.



445
446
447
# File 'generated/google/apis/games_management_v1management/classes.rb', line 445

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


438
439
440
# File 'generated/google/apis/games_management_v1management/classes.rb', line 438

def kind
  @kind
end

#resultsArray<Google::Apis::GamesManagementV1management::PlayerScoreResetResponse>

The leaderboard reset results. Corresponds to the JSON property results



443
444
445
# File 'generated/google/apis/games_management_v1management/classes.rb', line 443

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



450
451
452
453
# File 'generated/google/apis/games_management_v1management/classes.rb', line 450

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