class Google::Apis::GamesConfigurationV1configuration::AchievementConfigurationDetail

An achievement configuration detail.

Attributes

description[RW]

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

icon_url[RW]

The icon url of this achievement. 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#achievementConfigurationDetail`. 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]

point_value[RW]

Point value for the achievement. Corresponds to the JSON property `pointValue` @return [Fixnum]

sort_rank[RW]

The sort rank of this achievement. 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 122
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 127
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @icon_url = args[:icon_url] if args.key?(:icon_url)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @point_value = args[:point_value] if args.key?(:point_value)
  @sort_rank = args[:sort_rank] if args.key?(:sort_rank)
end