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 |
Update the metadata of the leaderboard configuration with the given ID.
See: Google Play Game Services Publishing API Reference for gamesConfiguration.leaderboardConfigurations.update
.
Synopsis
- type LeaderboardConfigurationsUpdateResource = "games" :> ("v1configuration" :> ("leaderboards" :> (Capture "leaderboardId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaderboardConfiguration :> Put '[JSON] LeaderboardConfiguration)))))
- leaderboardConfigurationsUpdate :: LeaderboardConfiguration -> Text -> LeaderboardConfigurationsUpdate
- data LeaderboardConfigurationsUpdate
- lcuPayload :: Lens' LeaderboardConfigurationsUpdate LeaderboardConfiguration
- lcuLeaderboardId :: Lens' LeaderboardConfigurationsUpdate Text
REST Resource
type LeaderboardConfigurationsUpdateResource = "games" :> ("v1configuration" :> ("leaderboards" :> (Capture "leaderboardId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaderboardConfiguration :> Put '[JSON] LeaderboardConfiguration))))) Source #
A resource alias for gamesConfiguration.leaderboardConfigurations.update
method which the
LeaderboardConfigurationsUpdate
request conforms to.
Creating a Request
leaderboardConfigurationsUpdate Source #
Creates a value of LeaderboardConfigurationsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LeaderboardConfigurationsUpdate Source #
Update the metadata of the leaderboard configuration with the given ID.
See: leaderboardConfigurationsUpdate
smart constructor.
Instances
Request Lenses
lcuPayload :: Lens' LeaderboardConfigurationsUpdate LeaderboardConfiguration Source #
Multipart request metadata.
lcuLeaderboardId :: Lens' LeaderboardConfigurationsUpdate Text Source #
The ID of the leaderboard.