gogol-games-0.3.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.Leaderboards.Get

Contents

Description

Retrieves the metadata of the leaderboard with the given ID.

See: Google Play Game Services API Reference for games.leaderboards.get.

Synopsis

REST Resource

type LeaderboardsGetResource = "games" :> ("v1" :> ("leaderboards" :> (Capture "leaderboardId" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Leaderboard)))))) Source #

A resource alias for games.leaderboards.get method which the LeaderboardsGet request conforms to.

Creating a Request

leaderboardsGet Source #

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

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

data LeaderboardsGet Source #

Retrieves the metadata of the leaderboard with the given ID.

See: leaderboardsGet smart constructor.

Instances

Eq LeaderboardsGet Source # 
Data LeaderboardsGet Source # 

Methods

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

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

toConstr :: LeaderboardsGet -> Constr #

dataTypeOf :: LeaderboardsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LeaderboardsGet Source # 
Generic LeaderboardsGet Source # 
GoogleRequest LeaderboardsGet Source # 
type Rep LeaderboardsGet Source # 
type Rep LeaderboardsGet = D1 (MetaData "LeaderboardsGet" "Network.Google.Resource.Games.Leaderboards.Get" "gogol-games-0.3.0-8BCKppY4rzpLLml8wyBtKz" False) (C1 (MetaCons "LeaderboardsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_lgLeaderboardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lgLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes LeaderboardsGet Source # 
type Scopes LeaderboardsGet = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs LeaderboardsGet Source # 

Request Lenses

lgConsistencyToken :: Lens' LeaderboardsGet (Maybe Int64) Source #

The last-seen mutation timestamp.

lgLeaderboardId :: Lens' LeaderboardsGet Text Source #

The ID of the leaderboard.

lgLanguage :: Lens' LeaderboardsGet (Maybe Text) Source #

The preferred language to use for strings returned by this method.