class Google::Apis::GamesConfigurationV1configuration::AchievementConfigurationDetail
This is a JSON template for an achievement configuration detail.
Attributes
This is a JSON template for a localized string bundle resource. Corresponds to the JSON property `description` @return [Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle]
The icon url of this achievement. 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#achievementConfigurationDetail. Corresponds to the JSON property `kind` @return [String]
This is a JSON template for a localized string bundle resource. Corresponds to the JSON property `name` @return [Google::Apis::GamesConfigurationV1configuration::LocalizedStringBundle]
Point value for the achievement. Corresponds to the JSON property `pointValue` @return [Fixnum]
The sort rank of this achievement. Writes to this field are ignored. Corresponds to the JSON property `sortRank` @return [Fixnum]
Public Class Methods
# File generated/google/apis/games_configuration_v1configuration/classes.rb, line 129 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_configuration_v1configuration/classes.rb, line 134 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