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

Contents

Description

Retrieves a list of snapshots created by your application for the player corresponding to the player ID.

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

Synopsis

REST Resource

type SnapshotsListResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> ("snapshots" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SnapshotListResponse))))))))) #

A resource alias for games.snapshots.list method which the SnapshotsList request conforms to.

Creating a Request

snapshotsList #

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

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

data SnapshotsList #

Retrieves a list of snapshots created by your application for the player corresponding to the player ID.

See: snapshotsList smart constructor.

Instances

Eq SnapshotsList # 
Data SnapshotsList # 

Methods

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

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

toConstr :: SnapshotsList -> Constr #

dataTypeOf :: SnapshotsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SnapshotsList # 
Generic SnapshotsList # 

Associated Types

type Rep SnapshotsList :: * -> * #

GoogleRequest SnapshotsList # 

Associated Types

type Rs SnapshotsList :: * #

type Scopes SnapshotsList :: [Symbol] #

type Rep SnapshotsList # 
type Rep SnapshotsList = D1 (MetaData "SnapshotsList" "Network.Google.Resource.Games.Snapshots.List" "gogol-games-0.3.0-GNXQYUUBxvWAqjK1jE2zeK" False) (C1 (MetaCons "SnapshotsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_slConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_slLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_slPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_slPlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))
type Scopes SnapshotsList # 
type Scopes SnapshotsList = (:) Symbol "https://www.googleapis.com/auth/drive.appdata" ((:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol)))
type Rs SnapshotsList # 

Request Lenses

slConsistencyToken :: Lens' SnapshotsList (Maybe Int64) #

The last-seen mutation timestamp.

slLanguage :: Lens' SnapshotsList (Maybe Text) #

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

slPageToken :: Lens' SnapshotsList (Maybe Text) #

The token returned by the previous request.

slPlayerId :: Lens' SnapshotsList Text #

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

slMaxResults :: Lens' SnapshotsList (Maybe Int32) #

The maximum number of snapshot resources to return in the response, used for paging. For any response, the actual number of snapshot resources returned may be less than the specified maxResults.