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

Contents

Description

Retrieves the metadata for a given snapshot ID.

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

Synopsis

REST Resource

type SnapshotsGetResource = "games" :> ("v1" :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))) Source #

A resource alias for games.snapshots.get method which the SnapshotsGet request conforms to.

Creating a Request

snapshotsGet Source #

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

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

data SnapshotsGet Source #

Retrieves the metadata for a given snapshot ID.

See: snapshotsGet smart constructor.

Instances
Eq SnapshotsGet Source # 
Instance details

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

Data SnapshotsGet Source # 
Instance details

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

Methods

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

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

toConstr :: SnapshotsGet -> Constr #

dataTypeOf :: SnapshotsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SnapshotsGet Source # 
Instance details

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

Generic SnapshotsGet Source # 
Instance details

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

Associated Types

type Rep SnapshotsGet :: Type -> Type #

GoogleRequest SnapshotsGet Source # 
Instance details

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

Associated Types

type Rs SnapshotsGet :: Type #

type Scopes SnapshotsGet :: [Symbol] #

type Rep SnapshotsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

sLanguage :: Lens' SnapshotsGet (Maybe Text) Source #

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

sSnapshotId :: Lens' SnapshotsGet Text Source #

The ID of the snapshot.