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

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

Attributes

  • autoMatchingCriteria (TurnBasedAutoMatchingCriteria): Criteria for auto-matching players into this match. Defaults to: null.
  • invitedPlayerIds ([String.t]): The player ids to invite to the match. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchCreateRequest. Defaults to: null.
  • requestId (String.t): A randomly generated numeric ID. This number is used at the server to ensure that the request is handled correctly across retries. Defaults to: null.
  • variant (integer()): 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. 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.TurnBasedMatchCreateRequest{
  autoMatchingCriteria:
    GoogleApi.Games.V1.Model.TurnBasedAutoMatchingCriteria.t(),
  invitedPlayerIds: [any()],
  kind: any(),
  requestId: any(),
  variant: 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.