gogol-games-management-0.4.0: Google Play Game Services Management SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.GamesManagement.Scores.Reset

Contents

Description

Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.

See: Google Play Game Services Management API Reference for gamesManagement.scores.reset.

Synopsis

REST Resource

type ScoresResetResource = "games" :> ("v1management" :> ("leaderboards" :> (Capture "leaderboardId" Text :> ("scores" :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] PlayerScoreResetResponse)))))) Source #

A resource alias for gamesManagement.scores.reset method which the ScoresReset request conforms to.

Creating a Request

scoresReset Source #

Creates a value of ScoresReset with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ScoresReset Source #

Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.

See: scoresReset smart constructor.

Instances
Eq ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

Data ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ScoresReset -> c ScoresReset #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ScoresReset #

toConstr :: ScoresReset -> Constr #

dataTypeOf :: ScoresReset -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ScoresReset) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ScoresReset) #

gmapT :: (forall b. Data b => b -> b) -> ScoresReset -> ScoresReset #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ScoresReset -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ScoresReset -> r #

gmapQ :: (forall d. Data d => d -> u) -> ScoresReset -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ScoresReset -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ScoresReset -> m ScoresReset #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ScoresReset -> m ScoresReset #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ScoresReset -> m ScoresReset #

Show ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

Generic ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

Associated Types

type Rep ScoresReset :: Type -> Type #

GoogleRequest ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

Associated Types

type Rs ScoresReset :: Type #

type Scopes ScoresReset :: [Symbol] #

type Rep ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

type Rep ScoresReset = D1 (MetaData "ScoresReset" "Network.Google.Resource.GamesManagement.Scores.Reset" "gogol-games-management-0.4.0-5sEK3kOx9bF2wt21wzdtnL" True) (C1 (MetaCons "ScoresReset'" PrefixI True) (S1 (MetaSel (Just "_srLeaderboardId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

type Scopes ScoresReset = "https://www.googleapis.com/auth/games" ': ([] :: [Symbol])
type Rs ScoresReset Source # 
Instance details

Defined in Network.Google.Resource.GamesManagement.Scores.Reset

Request Lenses

srLeaderboardId :: Lens' ScoresReset Text Source #

The ID of the leaderboard.