gogol-games-0.4.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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

Data AchievementsReveal Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

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 # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

Generic AchievementsReveal Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

Associated Types

type Rep AchievementsReveal :: Type -> Type #

GoogleRequest AchievementsReveal Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

Associated Types

type Rs AchievementsReveal :: Type #

type Scopes AchievementsReveal :: [Symbol] #

type Rep AchievementsReveal Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

type Rep AchievementsReveal = D1 (MetaData "AchievementsReveal" "Network.Google.Resource.Games.Achievements.Reveal" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" True) (C1 (MetaCons "AchievementsReveal'" PrefixI True) (S1 (MetaSel (Just "_arAchievementId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes AchievementsReveal Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Reveal

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

Defined in Network.Google.Resource.Games.Achievements.Reveal

Request Lenses

arAchievementId :: Lens' AchievementsReveal Text Source #

The ID of the achievement used by this method.