google_api_games v0.3.0 GoogleApi.Games.V1.Model.EventRecordFailure View Source

This is a JSON template for an event update failure resource.

Attributes

  • eventId (String.t): The ID of the event that was not updated. Defaults to: null.
  • failureCause (String.t): The cause for the update failure. Possible values are: - "NOT_FOUND" - An attempt was made to set an event that was not defined. - "INVALID_UPDATE_VALUE" - An attempt was made to increment an event by a non-positive value. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordFailure. 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.EventRecordFailure{
  eventId: any(),
  failureCause: any(),
  kind: 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.