class Google::Apis::GamesConfigurationV1configuration::LeaderboardConfigurationDetail
A leaderboard configuration detail.
Attributes
The icon url of this leaderboard. Writes to this field are ignored. Corresponds to the JSON property `iconUrl` @return [String]
Uniquely identifies the type of this resource. Value is always the fixed string `gamesConfiguration#leaderboardConfigurationDetail`. Corresponds to the JSON property `kind` @return [String]
A localized string bundle resource. Corresponds to the JSON property `name` @return [Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle]
A number format resource. Corresponds to the JSON property `scoreFormat` @return [Google::Apis::GamesConfigurationV1configuration::GamesNumberFormatConfiguration]
The sort rank of this leaderboard. Writes to this field are ignored. Corresponds to the JSON property `sortRank` @return [Fixnum]
Public Class Methods
# File lib/google/apis/games_configuration_v1configuration/classes.rb, line 385 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/games_configuration_v1configuration/classes.rb, line 390 def update!(**args) @icon_url = args[:icon_url] if args.key?(:icon_url) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @score_format = args[:score_format] if args.key?(:score_format) @sort_rank = args[:sort_rank] if args.key?(:sort_rank) end