class Google::Apis::GamesV1::EventBatchRecordFailure
This is a JSON template for a batch update failure resource.
Attributes
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. Corresponds to the JSON property `failureCause` @return [String]
Uniquely identifies the type of this resource. Value is always the fixed string games#eventBatchRecordFailure. Corresponds to the JSON property `kind` @return [String]
This is a JSON template for an event period time range. Corresponds to the JSON property `range` @return [Google::Apis::GamesV1::EventPeriodRange]
Public Class Methods
# File generated/google/apis/games_v1/classes.rb, line 777 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/games_v1/classes.rb, line 782 def update!(**args) @failure_cause = args[:failure_cause] if args.key?(:failure_cause) @kind = args[:kind] if args.key?(:kind) @range = args[:range] if args.key?(:range) end