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.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 "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SnapshotListResponse)))))))) Source #

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

Creating a Request

snapshotsList Source #

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

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

See: snapshotsList smart constructor.

Instances
Eq SnapshotsList Source # 
Instance details

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

Data SnapshotsList Source # 
Instance details

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

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

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

Generic SnapshotsList Source # 
Instance details

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

Associated Types

type Rep SnapshotsList :: Type -> Type #

GoogleRequest SnapshotsList Source # 
Instance details

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

Associated Types

type Rs SnapshotsList :: Type #

type Scopes SnapshotsList :: [Symbol] #

type Rep SnapshotsList Source # 
Instance details

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

type Rep SnapshotsList = D1 (MetaData "SnapshotsList" "Network.Google.Resource.Games.Snapshots.List" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "SnapshotsList'" PrefixI True) ((S1 (MetaSel (Just "_slLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_slPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_slPlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_slMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes SnapshotsList Source # 
Instance details

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

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

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

Request Lenses

slLanguage :: Lens' SnapshotsList (Maybe Text) Source #

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

slPageToken :: Lens' SnapshotsList (Maybe Text) Source #

The token returned by the previous request.

slPlayerId :: Lens' SnapshotsList Text Source #

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

slMaxResults :: Lens' SnapshotsList (Maybe Int32) Source #

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.