google_api_games v0.3.0 GoogleApi.Games.V1.Model.Snapshot View Source

This is a JSON template for an snapshot object.

Attributes

  • coverImage (SnapshotImage): The cover image of this snapshot. May be absent if there is no image. Defaults to: null.
  • description (String.t): The description of this snapshot. Defaults to: null.
  • driveId (String.t): 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. Defaults to: null.
  • durationMillis (String.t): The duration associated with this snapshot, in millis. Defaults to: null.
  • id (String.t): The ID of the snapshot. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#snapshot. Defaults to: null.
  • lastModifiedMillis (String.t): The timestamp (in millis since Unix epoch) of the last modification to this snapshot. Defaults to: null.
  • progressValue (String.t): The progress value (64-bit integer set by developer) associated with this snapshot. Defaults to: null.
  • title (String.t): The title of this snapshot. Defaults to: null.
  • type (String.t): The type of this snapshot. Possible values are: - "SAVE_GAME" - A snapshot representing a save game. Defaults to: null.
  • uniqueName (String.t): The unique name provided when the snapshot was created. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Games.V1.Model.Snapshot{
  coverImage: GoogleApi.Games.V1.Model.SnapshotImage.t(),
  description: any(),
  driveId: any(),
  durationMillis: any(),
  id: any(),
  kind: any(),
  lastModifiedMillis: any(),
  progressValue: any(),
  title: any(),
  type: any(),
  uniqueName: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.