google_api_games v0.6.0 GoogleApi.Games.V1.Model.TurnBasedMatchCreateRequest View Source

This is a JSON template for a turn-based match creation request.

Attributes

  • autoMatchingCriteria (type: GoogleApi.Games.V1.Model.TurnBasedAutoMatchingCriteria.t, default: nil) - Criteria for auto-matching players into this match.
  • invitedPlayerIds (type: list(String.t), default: nil) - The player ids to invite to the match.
  • kind (type: String.t, default: games#turnBasedMatchCreateRequest) - Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchCreateRequest.
  • requestId (type: String.t, default: nil) - A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries.
  • variant (type: integer(), default: nil) - The variant / mode of the application to be played. This can be any integer value, or left blank. You should use a small number of variants to keep the auto-matching pool as large as possible.

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.TurnBasedMatchCreateRequest{
  autoMatchingCriteria:
    GoogleApi.Games.V1.Model.TurnBasedAutoMatchingCriteria.t(),
  invitedPlayerIds: [String.t()],
  kind: String.t(),
  requestId: String.t(),
  variant: integer()
}

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.