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

This is a JSON template for a batch update failure resource.

Attributes

  • failureCause (String.t): The cause for the update failure. Possible values are: - "TOO_LARGE": A batch request was issued with more events than are allowed in a single batch. - "TIME_PERIOD_EXPIRED": A batch was sent with data too far in the past to record. - "TIME_PERIOD_SHORT": A batch was sent with a time range that was too short. - "TIME_PERIOD_LONG": A batch was sent with a time range that was too long. - "ALREADY_UPDATED": An attempt was made to record a batch of data which was already seen. - "RECORD_RATE_HIGH": An attempt was made to record data faster than the server will apply updates. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#eventBatchRecordFailure. Defaults to: null.
  • range (EventPeriodRange): The time range which was rejected; empty for a request-wide failure. 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.EventBatchRecordFailure{
  failureCause: any(),
  kind: any(),
  range: GoogleApi.Games.V1.Model.EventPeriodRange.t()
}

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.