class Google::Apis::GamesV1::EventPeriodUpdate
An event period update resource.
Attributes
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#eventPeriodUpdate`. Corresponds to the JSON property `kind` @return [String]
time_period[RW]
An event period time range. Corresponds to the JSON property `timePeriod` @return [Google::Apis::GamesV1::EventPeriodRange]
updates[RW]
The updates being made for this time period. Corresponds to the JSON property `updates` @return [Array<Google::Apis::GamesV1::UpdateEventRequest>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 873 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 878 def update!(**args) @kind = args[:kind] if args.key?(:kind) @time_period = args[:time_period] if args.key?(:time_period) @updates = args[:updates] if args.key?(:updates) end