class Google::Apis::GamesV1::UpdateEventRequest

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

Attributes

definition_id[RW]

The ID of the event being modified in this update. Corresponds to the JSON property `definitionId` @return [String]

kind[RW]

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

update_count[RW]

The number of times this event occurred in this time period. Corresponds to the JSON property `updateCount` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 1080
def update!(**args)
  @definition_id = args[:definition_id] if args.key?(:definition_id)
  @kind = args[:kind] if args.key?(:kind)
  @update_count = args[:update_count] if args.key?(:update_count)
end