class Google::Apis::CalendarV3::TimePeriod

Attributes

end[RW]

The (exclusive) end of the time period. Corresponds to the JSON property `end` @return [DateTime]

start[RW]

The (inclusive) start of the time period. Corresponds to the JSON property `start` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/calendar_v3/classes.rb, line 2171
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/calendar_v3/classes.rb, line 2176
def update!(**args)
  @end = args[:end] if args.key?(:end)
  @start = args[:start] if args.key?(:start)
end