class Google::Apis::GamesV1::EventPeriodRange
An event period time range.
Attributes
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#eventPeriodRange`. Corresponds to the JSON property `kind` @return [String]
period_end_millis[RW]
The time when this update period ends, in millis, since 1970 UTC (Unix Epoch). Corresponds to the JSON property `periodEndMillis` @return [Fixnum]
period_start_millis[RW]
The time when this update period begins, in millis, since 1970 UTC (Unix Epoch) . Corresponds to the JSON property `periodStartMillis` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 841 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 846 def update!(**args) @kind = args[:kind] if args.key?(:kind) @period_end_millis = args[:period_end_millis] if args.key?(:period_end_millis) @period_start_millis = args[:period_start_millis] if args.key?(:period_start_millis) end