class Google::Apis::GamesV1::GamesAchievementIncrement

This is a JSON template for the payload to request to increment an achievement.

Attributes

kind[RW]

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

request_id[RW]

The requestId associated with an increment to an achievement. Corresponds to the JSON property `requestId` @return [String]

steps[RW]

The number of steps to be incremented. Corresponds to the JSON property `steps` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 1150
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @request_id = args[:request_id] if args.key?(:request_id)
  @steps = args[:steps] if args.key?(:steps)
end