Skip to main content

snapshots

Overview

Namesnapshots
TypeResource
Idgoogledevelopers.games.snapshots

Fields

NameDatatypeDescription
idstringThe ID of the snapshot.
descriptionstringThe description of this snapshot.
typestringThe type of this snapshot.
coverImageobjectAn image of a snapshot.
durationMillisstringThe duration associated with this snapshot, in millis.
uniqueNamestringThe unique name provided when the snapshot was created.
lastModifiedMillisstringThe timestamp (in millis since Unix epoch) of the last modification to this snapshot.
progressValuestringThe progress value (64-bit integer set by developer) associated with this snapshot.
kindstringUniquely identifies the type of this resource. Value is always the fixed string games#snapshot.
titlestringThe title of this snapshot.
driveIdstringThe ID of the file underlying this snapshot in the Drive API. Only present if the snapshot is a view on a Drive file and the file is owned by the caller.

Methods

NameAccessible byRequired ParamsDescription
getSELECTsnapshotIdRetrieves the metadata for a given snapshot ID.
listSELECTplayerIdRetrieves a list of snapshots created by your application for the player corresponding to the player ID.