View Source GoogleApi.Games.V1.Model.ScoreSubmission (google_api_games v0.26.0)

A request to submit a score to leaderboards.

Attributes

  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#scoreSubmission.
  • leaderboardId (type: String.t, default: nil) - The leaderboard this score is being submitted to.
  • score (type: String.t, default: nil) - The new score being submitted.
  • scoreTag (type: String.t, default: nil) - Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
  • signature (type: String.t, default: nil) - Signature Values will contain URI-safe characters as defined by section 2.3 of RFC 3986.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Games.V1.Model.ScoreSubmission{
  kind: String.t() | nil,
  leaderboardId: String.t() | nil,
  score: String.t() | nil,
  scoreTag: String.t() | nil,
  signature: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.