class Google::Apis::GamesConfigurationV1configuration::LeaderboardConfigurationDetail

A leaderboard configuration detail.

Attributes

icon_url[RW]

The icon url of this leaderboard. Writes to this field are ignored. Corresponds to the JSON property `iconUrl` @return [String]

kind[RW]

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

name[RW]

A localized string bundle resource. Corresponds to the JSON property `name` @return [Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle]

score_format[RW]

A number format resource. Corresponds to the JSON property `scoreFormat` @return [Google::Apis::GamesConfigurationV1configuration::GamesNumberFormatConfiguration]

sort_rank[RW]

The sort rank of this leaderboard. Writes to this field are ignored. Corresponds to the JSON property `sortRank` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/games_configuration_v1configuration/classes.rb, line 385
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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