Class: Google::Apis::CalendarV3::CalendarNotification
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CalendarV3::CalendarNotification
 
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
 generated/google/apis/calendar_v3/representations.rb,
 generated/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #delivery_method  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The method used to deliver the notification. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of notification. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CalendarNotification 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CalendarNotification. 
- 
  
    
      #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) ⇒ CalendarNotification
Returns a new instance of CalendarNotification
| 459 460 461 | # File 'generated/google/apis/calendar_v3/classes.rb', line 459 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#delivery_method ⇒ String
The method used to deliver the notification. Possible values are:
- "email" - Reminders are sent via email.
- "sms" - Reminders are sent via SMS. This value is read-only and is ignored
on inserts and updates. SMS reminders are only available for G Suite customers.
Corresponds to the JSON property method
| 447 448 449 | # File 'generated/google/apis/calendar_v3/classes.rb', line 447 def delivery_method @delivery_method end | 
#type ⇒ String
The type of notification. Possible values are:
- "eventCreation" - Notification sent when a new event is put on the calendar.
- "eventChange" - Notification sent when an event is changed.
- "eventCancellation" - Notification sent when an event is cancelled.
- "eventResponse" - Notification sent when an event is changed.
- "agenda" - An agenda with the events of the day (sent out in the morning).
Corresponds to the JSON property type
| 457 458 459 | # File 'generated/google/apis/calendar_v3/classes.rb', line 457 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 464 465 466 467 | # File 'generated/google/apis/calendar_v3/classes.rb', line 464 def update!(**args) @delivery_method = args[:delivery_method] if args.key?(:delivery_method) @type = args[:type] if args.key?(:type) end |