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.Players.Get

Contents

Description

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

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

Synopsis

REST Resource

type PlayersGetResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Player))))) Source #

A resource alias for games.players.get method which the PlayersGet request conforms to.

Creating a Request

playersGet Source #

Arguments

:: Text

pgPlayerId

-> PlayersGet 

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

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

data PlayersGet Source #

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

See: playersGet smart constructor.

Instances
Eq PlayersGet Source # 
Instance details

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

Data PlayersGet Source # 
Instance details

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

Methods

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

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

toConstr :: PlayersGet -> Constr #

dataTypeOf :: PlayersGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlayersGet Source # 
Instance details

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

Generic PlayersGet Source # 
Instance details

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

Associated Types

type Rep PlayersGet :: Type -> Type #

GoogleRequest PlayersGet Source # 
Instance details

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

Associated Types

type Rs PlayersGet :: Type #

type Scopes PlayersGet :: [Symbol] #

type Rep PlayersGet Source # 
Instance details

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

type Rep PlayersGet = D1 (MetaData "PlayersGet" "Network.Google.Resource.Games.Players.Get" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "PlayersGet'" PrefixI True) (S1 (MetaSel (Just "_pgLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgPlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes PlayersGet Source # 
Instance details

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

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

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

Request Lenses

pgLanguage :: Lens' PlayersGet (Maybe Text) Source #

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

pgPlayerId :: Lens' PlayersGet Text Source #

A player ID. A value of me may be used in place of the authenticated player's ID.