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

Contents

Description

Resets the achievement 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.achievements.reset.

Synopsis

REST Resource

type AchievementsResetResource = "games" :> ("v1management" :> ("achievements" :> (Capture "achievementId" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementResetResponse))))) Source #

A resource alias for gamesManagement.achievements.reset method which the AchievementsReset request conforms to.

Creating a Request

achievementsReset Source #

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

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

data AchievementsReset Source #

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

See: achievementsReset smart constructor.

Instances
Eq AchievementsReset Source # 
Instance details

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

Data AchievementsReset Source # 
Instance details

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

Methods

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

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

toConstr :: AchievementsReset -> Constr #

dataTypeOf :: AchievementsReset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementsReset Source # 
Instance details

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

Generic AchievementsReset Source # 
Instance details

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

Associated Types

type Rep AchievementsReset :: Type -> Type #

GoogleRequest AchievementsReset Source # 
Instance details

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

Associated Types

type Rs AchievementsReset :: Type #

type Scopes AchievementsReset :: [Symbol] #

type Rep AchievementsReset Source # 
Instance details

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

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

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

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

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

Request Lenses

arAchievementId :: Lens' AchievementsReset Text Source #

The ID of the achievement used by this method.