class Google::Apis::GamesV1::EventRecordRequest

This is a JSON template for 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 [String]

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 [String]

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 generated/google/apis/games_v1/classes.rb, line 1042
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 1047
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