Class: Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::CalendarListEntry::NotificationSettings
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Overview
The notifications that the authenticated user is receiving for this calendar.
Instance Attribute Summary collapse
-
#notifications ⇒ Array<Google::Apis::CalendarV3::CalendarNotification>
The list of notifications set for this calendar.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotificationSettings
constructor
A new instance of NotificationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NotificationSettings
Returns a new instance of NotificationSettings
426 427 428 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notifications ⇒ Array<Google::Apis::CalendarV3::CalendarNotification>
The list of notifications set for this calendar.
Corresponds to the JSON property notifications
424 425 426 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 424 def notifications @notifications end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
431 432 433 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 431 def update!(**args) @notifications = args[:notifications] if args.key?(:notifications) end |