class Google::Apis::GamesV1::UpdateEventRequest
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 [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 976 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 981 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