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