class Google::Calendar
- Google::Calendar
- Reference
- Object
Defined in:
calendar/attachment.crcalendar/attendee.cr
calendar/availability.cr
calendar/calendar.cr
calendar/event.cr
calendar/events.cr
calendar/g_time.cr
calendar/list.cr
Constructors
Instance Method Summary
-
#availability(mailboxes : Array(String), starts_at : Time, ends_at : Time)
Find availability (free/busy) for calendars
- #calendar_list : Array(Calendar::ListEntry)
-
#create(event_start : Time, event_end : Time, calendar_id = "primary", attendees = [] of String, all_day = false, visibility : Visibility = Visibility::Default, extended_properties = nil, notify : UpdateGuests = UpdateGuests::All, conference = nil, **opts)
Create an event Supports: summary, description, location
- #delete(event_id, calendar_id = "primary", notify : UpdateGuests = UpdateGuests::ExternalOnly)
- #event(event_id, calendar_id = "primary")
-
#events(calendar_id = "primary", period_start : Time = Time.local.at_beginning_of_day, period_end : Time | Nil = nil, updated_since : Time | Nil = nil, **opts)
example additional options: showDeleted
-
#move(event_id : String, calendar_id : String, destination_id : String, notify : UpdateGuests = UpdateGuests::ExternalOnly)
Move an event to another calendar
- #update(event_id, calendar_id = "primary", event_start : Time | Nil = nil, event_end : Time | Nil = nil, attendees = nil, all_day = false, visibility : Visibility | Nil = nil, extended_properties = nil, notify : UpdateGuests = UpdateGuests::ExternalOnly, conference = nil, raw_json : String | Nil = nil, **opts)
Constructor Detail
Instance Method Detail
def availability(mailboxes : Array(String), starts_at : Time, ends_at : Time)
#
Find availability (free/busy) for calendars
def create(event_start : Time, event_end : Time, calendar_id = "primary", attendees = [] of String, all_day = false, visibility : Visibility = Visibility::Default, extended_properties = nil, notify : UpdateGuests = UpdateGuests::All, conference = nil, **opts)
#
Create an event Supports: summary, description, location
def events(calendar_id = "primary", period_start : Time = Time.local.at_beginning_of_day, period_end : Time | Nil = nil, updated_since : Time | Nil = nil, **opts)
#
example additional options: showDeleted
def move(event_id : String, calendar_id : String, destination_id : String, notify : UpdateGuests = UpdateGuests::ExternalOnly)
#
Move an event to another calendar
def update(event_id, calendar_id = "primary", event_start : Time | Nil = nil, event_end : Time | Nil = nil, attendees = nil, all_day = false, visibility : Visibility | Nil = nil, extended_properties = nil, notify : UpdateGuests = UpdateGuests::ExternalOnly, conference = nil, raw_json : String | Nil = nil, **opts)
#