class Google::Apis::ChatV1::TimeZone
The timezone id and offset. The id is the tz database time zones such as “ America/Toronto”. The user timezone offset, in milliseconds, from Coordinated Universal Time (UTC).
Attributes
id[RW]
Corresponds to the JSON property `id` @return [String]
offset[RW]
Corresponds to the JSON property `offset` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 2788 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chat_v1/classes.rb, line 2793 def update!(**args) @id = args[:id] if args.key?(:id) @offset = args[:offset] if args.key?(:offset) end