Class: Google::Apis::CalendarV3::Event::Reminders
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::Event::Reminders
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Overview
Information about the event's reminders for the authenticated user.
Instance Attribute Summary collapse
-
#overrides ⇒ Array<Google::Apis::CalendarV3::EventReminder>
If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event.
-
#use_default ⇒ Boolean
(also: #use_default?)
Whether the default reminders of the calendar apply to the event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Reminders
constructor
A new instance of Reminders.
-
#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) ⇒ Reminders
Returns a new instance of Reminders
1473 1474 1475 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#overrides ⇒ Array<Google::Apis::CalendarV3::EventReminder>
If the event doesn't use the default reminders, this lists the reminders
specific to the event, or, if not set, indicates that no reminders are set for
this event. The maximum number of override reminders is 5.
Corresponds to the JSON property overrides
1465 1466 1467 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1465 def overrides @overrides end |
#use_default ⇒ Boolean Also known as: use_default?
Whether the default reminders of the calendar apply to the event.
Corresponds to the JSON property useDefault
1470 1471 1472 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1470 def use_default @use_default end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1478 1479 1480 1481 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1478 def update!(**args) @overrides = args[:overrides] if args.key?(:overrides) @use_default = args[:use_default] if args.key?(:use_default) end |