class Google::Apis::MirrorV1::NotificationConfig
Controls how notifications for a timeline item are presented to the user.
Attributes
delivery_time[RW]
The time at which the notification should be delivered. Corresponds to the JSON property `deliveryTime` @return [DateTime]
level[RW]
Describes how important the notification is. Allowed values are:
-
DEFAULT - Notifications of default importance. A chime will be played to
alert users. Corresponds to the JSON property `level` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/mirror_v1/classes.rb, line 590 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/mirror_v1/classes.rb, line 595 def update!(**args) @delivery_time = args[:delivery_time] if args.key?(:delivery_time) @level = args[:level] if args.key?(:level) end