gogol-games-0.2.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))))))) Source #

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

Creating a Request

applicationsGet Source #

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 Source #

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 Source # 
Data ApplicationsGet Source # 

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 Source # 
Generic ApplicationsGet Source # 
GoogleRequest ApplicationsGet Source # 
type Rep ApplicationsGet Source # 
type Rep ApplicationsGet = D1 (MetaData "ApplicationsGet" "Network.Google.Resource.Games.Applications.Get" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" 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 Source # 
type Scopes ApplicationsGet = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs ApplicationsGet Source # 

Request Lenses

agConsistencyToken :: Lens' ApplicationsGet (Maybe Int64) Source #

The last-seen mutation timestamp.

agApplicationId :: Lens' ApplicationsGet Text Source #

The application ID from the Google Play developer console.

agPlatformType :: Lens' ApplicationsGet (Maybe ApplicationsGetPlatformType) Source #

Restrict application details returned to the specific platform.

agLanguage :: Lens' ApplicationsGet (Maybe Text) Source #

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