class Google::Apis::GamesV1::EventPeriodRange

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

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

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 936
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 941
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