gogol-games-0.2.0: Google Play Game Services 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.Games.Achievements.Reveal

Contents

Description

Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player.

See: Google Play Game Services API Reference for games.achievements.reveal.

Synopsis

REST Resource

type AchievementsRevealResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("reveal" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementRevealResponse)))))) Source #

A resource alias for games.achievements.reveal method which the AchievementsReveal request conforms to.

Creating a Request

achievementsReveal Source #

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

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

data AchievementsReveal Source #

Sets the state of the achievement with the given ID to REVEALED for the currently authenticated player.

See: achievementsReveal smart constructor.

Instances

Eq AchievementsReveal Source # 
Data AchievementsReveal Source # 

Methods

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

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

toConstr :: AchievementsReveal -> Constr #

dataTypeOf :: AchievementsReveal -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementsReveal Source # 
Generic AchievementsReveal Source # 
GoogleRequest AchievementsReveal Source # 
type Rep AchievementsReveal Source # 
type Rep AchievementsReveal = D1 (MetaData "AchievementsReveal" "Network.Google.Resource.Games.Achievements.Reveal" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" False) (C1 (MetaCons "AchievementsReveal'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_arAchievementId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_arConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))
type Scopes AchievementsReveal Source # 
type Scopes AchievementsReveal = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs AchievementsReveal Source # 

Request Lenses

arAchievementId :: Lens' AchievementsReveal Text Source #

The ID of the achievement used by this method.

arConsistencyToken :: Lens' AchievementsReveal (Maybe Int64) Source #

The last-seen mutation timestamp.