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.ResetForAllPlayers

Contents

Description

Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.

See: Google Play Game Services Management API Reference for gamesManagement.achievements.resetForAllPlayers.

Synopsis

REST Resource

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

A resource alias for gamesManagement.achievements.resetForAllPlayers method which the AchievementsResetForAllPlayers request conforms to.

Creating a Request

achievementsResetForAllPlayers Source #

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

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

data AchievementsResetForAllPlayers Source #

Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.

See: achievementsResetForAllPlayers smart constructor.

Instances
Eq AchievementsResetForAllPlayers Source # 
Instance details

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

Data AchievementsResetForAllPlayers Source # 
Instance details

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

Methods

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

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

toConstr :: AchievementsResetForAllPlayers -> Constr #

dataTypeOf :: AchievementsResetForAllPlayers -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementsResetForAllPlayers Source # 
Instance details

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

Generic AchievementsResetForAllPlayers Source # 
Instance details

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

Associated Types

type Rep AchievementsResetForAllPlayers :: Type -> Type #

GoogleRequest AchievementsResetForAllPlayers Source # 
Instance details

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

type Rep AchievementsResetForAllPlayers Source # 
Instance details

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

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

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

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

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

Request Lenses

arfapAchievementId :: Lens' AchievementsResetForAllPlayers Text Source #

The ID of the achievement used by this method.