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