| 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.Insert
Description
Insert a new leaderboard configuration in this application.
See: Google Play Game Services Publishing API Reference for gamesConfiguration.leaderboardConfigurations.insert.
Synopsis
- type LeaderboardConfigurationsInsertResource = "games" :> ("v1configuration" :> ("applications" :> (Capture "applicationId" Text :> ("leaderboards" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaderboardConfiguration :> Post '[JSON] LeaderboardConfiguration))))))
- leaderboardConfigurationsInsert :: LeaderboardConfiguration -> Text -> LeaderboardConfigurationsInsert
- data LeaderboardConfigurationsInsert
- lciPayload :: Lens' LeaderboardConfigurationsInsert LeaderboardConfiguration
- lciApplicationId :: Lens' LeaderboardConfigurationsInsert Text
REST Resource
type LeaderboardConfigurationsInsertResource = "games" :> ("v1configuration" :> ("applications" :> (Capture "applicationId" Text :> ("leaderboards" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaderboardConfiguration :> Post '[JSON] LeaderboardConfiguration)))))) Source #
A resource alias for gamesConfiguration.leaderboardConfigurations.insert method which the
LeaderboardConfigurationsInsert request conforms to.
Creating a Request
leaderboardConfigurationsInsert Source #
Arguments
| :: LeaderboardConfiguration | |
| -> Text | |
| -> LeaderboardConfigurationsInsert |
Creates a value of LeaderboardConfigurationsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LeaderboardConfigurationsInsert Source #
Insert a new leaderboard configuration in this application.
See: leaderboardConfigurationsInsert smart constructor.
Instances
Request Lenses
lciPayload :: Lens' LeaderboardConfigurationsInsert LeaderboardConfiguration Source #
Multipart request metadata.
lciApplicationId :: Lens' LeaderboardConfigurationsInsert Text Source #
The application ID from the Google Play developer console.