google_api_games v0.1.0 GoogleApi.Games.V1.Model.RoomCreateRequest View Source

This is a JSON template for a room creation request.

Attributes

  • autoMatchingCriteria (RoomAutoMatchingCriteria): Criteria for auto-matching players into this room. Defaults to: null.
  • capabilities ([String.t]): The capabilities that this client supports for realtime communication. Defaults to: null.
  • clientAddress (RoomClientAddress): Client address for the player creating the room. Defaults to: null.
  • invitedPlayerIds ([String.t]): The player IDs to invite to the room. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#roomCreateRequest. Defaults to: null.
  • networkDiagnostics (NetworkDiagnostics): Network diagnostics for the client creating the room. 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.RoomCreateRequest{
  autoMatchingCriteria: GoogleApi.Games.V1.Model.RoomAutoMatchingCriteria.t(),
  capabilities: [any()],
  clientAddress: GoogleApi.Games.V1.Model.RoomClientAddress.t(),
  invitedPlayerIds: [any()],
  kind: any(),
  networkDiagnostics: GoogleApi.Games.V1.Model.NetworkDiagnostics.t(),
  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.