class Google::Apis::GamesV1::EventRecordRequest
An event period update resource.
Attributes
current_time_millis[RW]
The current time when this update was sent, in milliseconds, since 1970 UTC ( Unix Epoch). Corresponds to the JSON property `currentTimeMillis` @return [Fixnum]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#eventRecordRequest`. Corresponds to the JSON property `kind` @return [String]
request_id[RW]
The request ID used to identify this attempt to record events. Corresponds to the JSON property `requestId` @return [Fixnum]
time_periods[RW]
A list of the time period updates being made in this request. Corresponds to the JSON property `timePeriods` @return [Array<Google::Apis::GamesV1::EventPeriodUpdate>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 943 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 948 def update!(**args) @current_time_millis = args[:current_time_millis] if args.key?(:current_time_millis) @kind = args[:kind] if args.key?(:kind) @request_id = args[:request_id] if args.key?(:request_id) @time_periods = args[:time_periods] if args.key?(:time_periods) end