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