gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Achievements.SetStepsAtLeast

Contents

Description

Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.

See: Google Play Game Services API Reference for games.achievements.setStepsAtLeast.

Synopsis

REST Resource

type AchievementsSetStepsAtLeastResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("setStepsAtLeast" :> (QueryParam "steps" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post `[JSON]` AchievementSetStepsAtLeastResponse)))))) Source

A resource alias for games.achievements.setStepsAtLeast method which the AchievementsSetStepsAtLeast request conforms to.

Creating a Request

achievementsSetStepsAtLeast Source

Creates a value of AchievementsSetStepsAtLeast with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AchievementsSetStepsAtLeast Source

Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.

See: achievementsSetStepsAtLeast smart constructor.

Request Lenses

assalAchievementId :: Lens' AchievementsSetStepsAtLeast Text Source

The ID of the achievement used by this method.

assalSteps :: Lens' AchievementsSetStepsAtLeast Int32 Source

The minimum value to set the steps to.