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

Contents

Description

Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All quests for this player that use the event will also be reset.

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

Synopsis

REST Resource

type EventsResetResource = "games" :> ("v1management" :> ("events" :> (Capture "eventId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #

A resource alias for gamesManagement.events.reset method which the EventsReset request conforms to.

Creating a Request

eventsReset Source #

Arguments

:: Text

erEventId

-> EventsReset 

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

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

data EventsReset Source #

Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. All quests for this player that use the event will also be reset.

See: eventsReset smart constructor.

Instances
Eq EventsReset Source # 
Instance details

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

Data EventsReset Source # 
Instance details

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

Methods

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

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

toConstr :: EventsReset -> Constr #

dataTypeOf :: EventsReset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsReset Source # 
Instance details

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

Generic EventsReset Source # 
Instance details

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

Associated Types

type Rep EventsReset :: Type -> Type #

GoogleRequest EventsReset Source # 
Instance details

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

Associated Types

type Rs EventsReset :: Type #

type Scopes EventsReset :: [Symbol] #

type Rep EventsReset Source # 
Instance details

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

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

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

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

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

type Rs EventsReset = ()

Request Lenses

erEventId :: Lens' EventsReset Text Source #

The ID of the event.