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