GoogleApi.Games.V1.Model.SnapshotMetadata (google_api_games v0.21.1) View Source

Metadata about a snapshot revision. Snapshot metadata is immutable - a metadata change corresponds to a new snapshot revision.

Attributes

  • description (type: String.t, default: nil) - The description of this snapshot.
  • deviceName (type: String.t, default: nil) - The device that created the current revision.
  • gameplayDuration (type: String.t, default: nil) - The duration associated with this snapshot. Values with sub-millisecond precision can be rounded or trimmed to the closest millisecond.
  • lastModifyTime (type: DateTime.t, default: nil) - The timestamp of the last modification to this snapshot as provided by the client. Values with sub-millisecond precision can be rounded or trimmed to the closest millisecond.
  • progressValue (type: String.t, default: nil) - The progress value (64-bit integer set by developer) associated with this snapshot.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Games.V1.Model.SnapshotMetadata{
  description: String.t(),
  deviceName: String.t(),
  gameplayDuration: String.t(),
  lastModifyTime: DateTime.t(),
  progressValue: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.