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