class Google::Apis::CalendarV3::CalendarNotification

Attributes

delivery_method[RW]

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 Google Apps for Work, Education, and Government customers. Corresponds to the JSON property `method` @return [String]

type[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 446
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/calendar_v3/classes.rb, line 451
def update!(**args)
  @delivery_method = args[:delivery_method] if args.key?(:delivery_method)
  @type = args[:type] if args.key?(:type)
end