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 |
Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.
See: Google Play Game Services Management API Reference for gamesManagement.players.hide
.
Synopsis
- type PlayersHideResource = "games" :> ("v1management" :> ("applications" :> (Capture "applicationId" Text :> ("players" :> ("hidden" :> (Capture "playerId" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))
- playersHide :: Text -> Text -> PlayersHide
- data PlayersHide
- phApplicationId :: Lens' PlayersHide Text
- phPlayerId :: Lens' PlayersHide Text
REST Resource
type PlayersHideResource = "games" :> ("v1management" :> ("applications" :> (Capture "applicationId" Text :> ("players" :> ("hidden" :> (Capture "playerId" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))) Source #
A resource alias for gamesManagement.players.hide
method which the
PlayersHide
request conforms to.
Creating a Request
Creates a value of PlayersHide
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PlayersHide Source #
Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.
See: playersHide
smart constructor.
Instances
Request Lenses
phApplicationId :: Lens' PlayersHide Text Source #
The application ID from the Google Play developer console.
phPlayerId :: Lens' PlayersHide Text Source #
A player ID. A value of me may be used in place of the authenticated player's ID.