Resource: Snapshot
An snapshot object.
JSON representation |
---|
{ "id": string, "driveId": string, "kind": string, "type": enum ( |
Fields | |
---|---|
id |
The ID of the snapshot. |
driveId |
The 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. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
type |
The type of this snapshot. |
title |
The title of this snapshot. |
description |
The description of this snapshot. |
lastModifiedMillis |
The timestamp (in millis since Unix epoch) of the last modification to this snapshot. |
durationMillis |
The duration associated with this snapshot, in millis. |
coverImage |
The cover image of this snapshot. May be absent if there is no image. |
uniqueName |
The unique name provided when the snapshot was created. |
progressValue |
The progress value (64-bit integer set by developer) associated with this snapshot. |
SnapshotType
Define supported snapshot types.
Enums | |
---|---|
SAVE_GAME |
A snapshot representing a save game. |
SnapshotImage
An image of a snapshot.
JSON representation |
---|
{ "width": integer, "height": integer, "mime_type": string, "url": string, "kind": string } |
Fields | |
---|---|
width |
The width of the image. |
height |
The height of the image. |
mime_type |
The MIME type of the image. |
url |
The URL of the image. This URL may be invalidated at any time and should not be cached. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
Methods |
|
---|---|
|
Retrieves the metadata for a given snapshot ID. |
|
Retrieves a list of snapshots created by your application for the player corresponding to the player ID. |