Copyright | (c) 2015-2016 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 |
Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.
See: Google Play Game Services API Reference for games.events.record
.
- type EventsRecordResource = "games" :> ("v1" :> ("events" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EventRecordRequest :> Post '[JSON] EventUpdateResponse))))))
- eventsRecord :: EventRecordRequest -> EventsRecord
- data EventsRecord
- erConsistencyToken :: Lens' EventsRecord (Maybe Int64)
- erPayload :: Lens' EventsRecord EventRecordRequest
- erLanguage :: Lens' EventsRecord (Maybe Text)
REST Resource
type EventsRecordResource = "games" :> ("v1" :> ("events" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EventRecordRequest :> Post '[JSON] EventUpdateResponse)))))) Source #
A resource alias for games.events.record
method which the
EventsRecord
request conforms to.
Creating a Request
Creates a value of EventsRecord
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsRecord Source #
Records a batch of changes to the number of times events have occurred for the currently authenticated user of this application.
See: eventsRecord
smart constructor.
Request Lenses
erConsistencyToken :: Lens' EventsRecord (Maybe Int64) Source #
The last-seen mutation timestamp.
erPayload :: Lens' EventsRecord EventRecordRequest Source #
Multipart request metadata.
erLanguage :: Lens' EventsRecord (Maybe Text) Source #
The preferred language to use for strings returned by this method.