{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.GamesManagement.TurnBasedMatches.ResetForAllPlayers
(
TurnBasedMatchesResetForAllPlayersResource
, turnBasedMatchesResetForAllPlayers
, TurnBasedMatchesResetForAllPlayers
) where
import Network.Google.GamesManagement.Types
import Network.Google.Prelude
type TurnBasedMatchesResetForAllPlayersResource =
"games" :>
"v1management" :>
"turnbasedmatches" :>
"resetForAllPlayers" :>
QueryParam "alt" AltJSON :> Post '[JSON] ()
data TurnBasedMatchesResetForAllPlayers =
TurnBasedMatchesResetForAllPlayers'
deriving (Eq,Show,Data,Typeable,Generic)
turnBasedMatchesResetForAllPlayers
:: TurnBasedMatchesResetForAllPlayers
turnBasedMatchesResetForAllPlayers = TurnBasedMatchesResetForAllPlayers'
instance GoogleRequest
TurnBasedMatchesResetForAllPlayers where
type Rs TurnBasedMatchesResetForAllPlayers = ()
type Scopes TurnBasedMatchesResetForAllPlayers =
'["https://www.googleapis.com/auth/games"]
requestClient TurnBasedMatchesResetForAllPlayers'{}
= go (Just AltJSON) gamesManagementService
where go
= buildClient
(Proxy ::
Proxy TurnBasedMatchesResetForAllPlayersResource)
mempty