| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Games.Snapshots.Get
Description
Retrieves the metadata for a given snapshot ID.
See: Google Play Game Services API Reference for games.snapshots.get.
- type SnapshotsGetResource = "games" :> ("v1" :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))))
- snapshotsGet :: Text -> SnapshotsGet
- data SnapshotsGet
- sConsistencyToken :: Lens' SnapshotsGet (Maybe Int64)
- sLanguage :: Lens' SnapshotsGet (Maybe Text)
- sSnapshotId :: Lens' SnapshotsGet Text
REST Resource
type SnapshotsGetResource = "games" :> ("v1" :> ("snapshots" :> (Capture "snapshotId" Text :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot)))))) #
A resource alias for games.snapshots.get method which the
SnapshotsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> SnapshotsGet |
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 #
Retrieves the metadata for a given snapshot ID.
See: snapshotsGet smart constructor.
Instances
| Eq SnapshotsGet # | |
| Data SnapshotsGet # | |
| Show SnapshotsGet # | |
| Generic SnapshotsGet # | |
| GoogleRequest SnapshotsGet # | |
| type Rep SnapshotsGet # | |
| type Scopes SnapshotsGet # | |
| type Rs SnapshotsGet # | |
Request Lenses
sConsistencyToken :: Lens' SnapshotsGet (Maybe Int64) #
The last-seen mutation timestamp.
sLanguage :: Lens' SnapshotsGet (Maybe Text) #
The preferred language to use for strings returned by this method.
sSnapshotId :: Lens' SnapshotsGet Text #
The ID of the snapshot.