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

Defined in Network.Google.Resource.Games.Leaderboards.Get

Data LeaderboardsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Leaderboards.Get

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

Defined in Network.Google.Resource.Games.Leaderboards.Get

Generic LeaderboardsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Leaderboards.Get

Associated Types

type Rep LeaderboardsGet :: Type -> Type #

GoogleRequest LeaderboardsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Leaderboards.Get

Associated Types

type Rs LeaderboardsGet :: Type #

type Scopes LeaderboardsGet :: [Symbol] #

type Rep LeaderboardsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Leaderboards.Get

type Rep LeaderboardsGet = D1 (MetaData "LeaderboardsGet" "Network.Google.Resource.Games.Leaderboards.Get" "gogol-games-0.5.0-IOfttE0raSUDqs74eP7e0u" False) (C1 (MetaCons "LeaderboardsGet'" PrefixI True) (S1 (MetaSel (Just "_lgLeaderboardId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lgLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Scopes LeaderboardsGet Source # 
Instance details

Defined in Network.Google.Resource.Games.Leaderboards.Get

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

Defined in Network.Google.Resource.Games.Leaderboards.Get

Request Lenses

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.