{-# 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.Rooms.ResetForAllPlayers
(
RoomsResetForAllPlayersResource
, roomsResetForAllPlayers
, RoomsResetForAllPlayers
) where
import Network.Google.GamesManagement.Types
import Network.Google.Prelude
type RoomsResetForAllPlayersResource =
"games" :>
"v1management" :>
"rooms" :>
"resetForAllPlayers" :>
QueryParam "alt" AltJSON :> Post '[JSON] ()
data RoomsResetForAllPlayers =
RoomsResetForAllPlayers'
deriving (Eq,Show,Data,Typeable,Generic)
roomsResetForAllPlayers
:: RoomsResetForAllPlayers
roomsResetForAllPlayers = RoomsResetForAllPlayers'
instance GoogleRequest RoomsResetForAllPlayers where
type Rs RoomsResetForAllPlayers = ()
type Scopes RoomsResetForAllPlayers =
'["https://www.googleapis.com/auth/games"]
requestClient RoomsResetForAllPlayers'{}
= go (Just AltJSON) gamesManagementService
where go
= buildClient
(Proxy :: Proxy RoomsResetForAllPlayersResource)
mempty