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

Contents

Description

Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned response will not include any instance data.

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

Synopsis

REST Resource

type ApplicationsGetResource = "games" :> ("v1" :> ("applications" :> (Capture "applicationId" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "platformType" ApplicationsGetPlatformType :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Application))))))) #

A resource alias for games.applications.get method which the ApplicationsGet request conforms to.

Creating a Request

applicationsGet #

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

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

data ApplicationsGet #

Retrieves the metadata of the application with the given ID. If the requested application is not available for the specified platformType, the returned response will not include any instance data.

See: applicationsGet smart constructor.

Instances

Eq ApplicationsGet # 
Data ApplicationsGet # 

Methods

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

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

toConstr :: ApplicationsGet -> Constr #

dataTypeOf :: ApplicationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApplicationsGet # 
Generic ApplicationsGet # 
GoogleRequest ApplicationsGet # 
type Rep ApplicationsGet # 
type Rep ApplicationsGet = D1 (MetaData "ApplicationsGet" "Network.Google.Resource.Games.Applications.Get" "gogol-games-0.3.0-GNXQYUUBxvWAqjK1jE2zeK" False) (C1 (MetaCons "ApplicationsGet'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_agConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_agApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_agPlatformType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationsGetPlatformType))) (S1 (MetaSel (Just Symbol "_agLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ApplicationsGet # 
type Scopes ApplicationsGet = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs ApplicationsGet # 

Request Lenses

agConsistencyToken :: Lens' ApplicationsGet (Maybe Int64) #

The last-seen mutation timestamp.

agApplicationId :: Lens' ApplicationsGet Text #

The application ID from the Google Play developer console.

agPlatformType :: Lens' ApplicationsGet (Maybe ApplicationsGetPlatformType) #

Restrict application details returned to the specific platform.

agLanguage :: Lens' ApplicationsGet (Maybe Text) #

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