Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All quests for this player that use the event will also be reset.
See: Google Play Game Services Management API Reference for gamesManagement.events.reset
.
- type EventsResetResource = "games" :> ("v1management" :> ("events" :> (Capture "eventId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ())))))
- eventsReset :: Text -> EventsReset
- data EventsReset
- erEventId :: Lens' EventsReset Text
REST Resource
type EventsResetResource = "games" :> ("v1management" :> ("events" :> (Capture "eventId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))) Source
A resource alias for gamesManagement.events.reset
method which the
EventsReset
request conforms to.
Creating a Request
:: Text | |
-> EventsReset |
Creates a value of EventsReset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsReset Source
Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All quests for this player that use the event will also be reset.
See: eventsReset
smart constructor.
Request Lenses
erEventId :: Lens' EventsReset Text Source
The ID of the event.