class Google::Apis::GamesV1::UpdateEventResponse

An event period update resource.

Attributes

batch_failures[RW]

Any batch-wide failures which occurred applying updates. Corresponds to the JSON property `batchFailures` @return [Array<Google::Apis::GamesV1::EventBatchRecordFailure>]

event_failures[RW]

Any failures updating a particular event. Corresponds to the JSON property `eventFailures` @return [Array<Google::Apis::GamesV1::EventRecordFailure>]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string `games#eventUpdateResponse`. Corresponds to the JSON property `kind` @return [String]

player_events[RW]

The current status of any updated events Corresponds to the JSON property `playerEvents` @return [Array<Google::Apis::GamesV1::PlayerEvent>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 1013
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/games_v1/classes.rb, line 1018
def update!(**args)
  @batch_failures = args[:batch_failures] if args.key?(:batch_failures)
  @event_failures = args[:event_failures] if args.key?(:event_failures)
  @kind = args[:kind] if args.key?(:kind)
  @player_events = args[:player_events] if args.key?(:player_events)
end