View Source GoogleApi.Games.V1.Model.LinkPersonaRequest (google_api_games v0.26.1)

Request to link an in-game account with a PGS principal (encoded in the session id).

Attributes

  • cardinalityConstraint (type: String.t, default: nil) - Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game.
  • conflictingLinksResolutionPolicy (type: String.t, default: nil) - Required. Resolution policy to apply when the linking of a persona to a player would result in violating the specified cardinality constraint.
  • expireTime (type: DateTime.t, default: nil) - Input only. Optional expiration time.
  • persona (type: String.t, default: nil) - Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for different games.
  • sessionId (type: String.t, default: nil) - Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
  • token (type: String.t, default: nil) - Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with key rotation).
  • ttl (type: String.t, default: nil) - Input only. Optional time-to-live.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Games.V1.Model.LinkPersonaRequest{
  cardinalityConstraint: String.t() | nil,
  conflictingLinksResolutionPolicy: String.t() | nil,
  expireTime: DateTime.t() | nil,
  persona: String.t() | nil,
  sessionId: String.t() | nil,
  token: String.t() | nil,
  ttl: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.