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.Quests.Reset

Contents

Description

Resets all player progress on the quest 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.quests.reset.

Synopsis

REST Resource

type QuestsResetResource = "games" :> ("v1management" :> ("quests" :> (Capture "questId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #

A resource alias for gamesManagement.quests.reset method which the QuestsReset request conforms to.

Creating a Request

questsReset Source #

Arguments

:: Text

qrQuestId

-> QuestsReset 

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

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

data QuestsReset Source #

Resets all player progress on the quest with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.

See: questsReset smart constructor.

Instances
Eq QuestsReset Source # 
Instance details

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

Data QuestsReset Source # 
Instance details

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

Methods

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

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

toConstr :: QuestsReset -> Constr #

dataTypeOf :: QuestsReset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuestsReset Source # 
Instance details

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

Generic QuestsReset Source # 
Instance details

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

Associated Types

type Rep QuestsReset :: Type -> Type #

GoogleRequest QuestsReset Source # 
Instance details

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

Associated Types

type Rs QuestsReset :: Type #

type Scopes QuestsReset :: [Symbol] #

type Rep QuestsReset Source # 
Instance details

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

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

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

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

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

type Rs QuestsReset = ()

Request Lenses

qrQuestId :: Lens' QuestsReset Text Source #

The ID of the quest.