| 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 |
Network.Google.Resource.Games.Pushtokens.Update
Description
Registers a push token for the current user and application.
See: Google Play Game Services API Reference for games.pushtokens.update.
Synopsis
- type PushtokensUpdateResource = "games" :> ("v1" :> ("pushtokens" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushToken :> Put '[JSON] ()))))
- pushtokensUpdate :: PushToken -> PushtokensUpdate
- data PushtokensUpdate
- puPayload :: Lens' PushtokensUpdate PushToken
REST Resource
type PushtokensUpdateResource = "games" :> ("v1" :> ("pushtokens" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PushToken :> Put '[JSON] ())))) Source #
A resource alias for games.pushtokens.update method which the
PushtokensUpdate request conforms to.
Creating a Request
Arguments
| :: PushToken | |
| -> PushtokensUpdate |
Creates a value of PushtokensUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PushtokensUpdate Source #
Registers a push token for the current user and application.
See: pushtokensUpdate smart constructor.