| 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.TurnBasedMatches.Cancel
Description
Cancel a turn-based match.
See: Google Play Game Services API Reference for games.turnBasedMatches.cancel.
Synopsis
- type TurnBasedMatchesCancelResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))))
- turnBasedMatchesCancel :: Text -> TurnBasedMatchesCancel
- data TurnBasedMatchesCancel
- tbmcMatchId :: Lens' TurnBasedMatchesCancel Text
REST Resource
type TurnBasedMatchesCancelResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("cancel" :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))) Source #
A resource alias for games.turnBasedMatches.cancel method which the
TurnBasedMatchesCancel request conforms to.
Creating a Request
turnBasedMatchesCancel Source #
Arguments
| :: Text | |
| -> TurnBasedMatchesCancel |
Creates a value of TurnBasedMatchesCancel with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TurnBasedMatchesCancel Source #
Cancel a turn-based match.
See: turnBasedMatchesCancel smart constructor.
Instances
Request Lenses
tbmcMatchId :: Lens' TurnBasedMatchesCancel Text Source #
The ID of the match.