Google::Calendar
Inherits Google::Auth::GetToken / Reference / Object
Constructors
Instance methods
accept(event_id, calendar_id = "primary", notify : UpdateGuests = UpdateGuests::All, comment : String | Nil = nil)
Sourceavailability(response : HTTP::Client::Response)
Sourceavailability(*args, **opts)
Sourceavailability_request(mailboxes : Array(String), starts_at : Time, ends_at : Time)
Find availability (free/busy) for calendars
batch(requests : Indexable(HTTP::Request), boundary = MIME::Multipart.generate_boundary) : Hash(HTTP::Request, HTTP::Client::Response)
Sourcecalendar_list(response : HTTP::Client::Response) : Calendar::List
Sourcecalendar_list(min_access : Access | Nil = nil) : Array(Calendar::ListEntry)
Sourcecalendar_list_request(min_access : Access | Nil = nil) : HTTP::Request
Sourcecreate(response : HTTP::Client::Response)
Sourcecreate_request(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)
Sourcedecline(event_id, calendar_id = "primary", notify : UpdateGuests = UpdateGuests::All, comment : String | Nil = nil)
Sourcedelete(response : HTTP::Client::Response)
Sourcedelete(*args, **opts)
Sourcedelete_request(event_id, calendar_id = "primary", notify : UpdateGuests = UpdateGuests::All)
Sourceevent(response : HTTP::Client::Response)
Sourceevent(event_id, calendar_id = "primary")
Sourceevent_request(event_id, calendar_id = "primary")
Sourceevents(response : HTTP::Client::Response)
Sourceevents(*args, **opts)
Sourceevents_request(calendar_id = "primary", period_start : Time = Time.local.at_beginning_of_day, period_end : Time | Nil = nil, updated_since : Time | Nil = nil, **opts) : HTTP::Request
example additional options: showDeleted
move(response : HTTP::Client::Response)
Sourcemove_request(event_id : String, calendar_id : String, destination_id : String, notify : UpdateGuests = UpdateGuests::All)
Sourcerespond(status : String, event_id, calendar_id = "primary", notify : UpdateGuests = UpdateGuests::All, comment : String | Nil = nil)
Sourcestop_watching(response : HTTP::Client::Response)
Sourcestop_watching(*args, **opts)
Sourcestop_watching_request(watch_id : String, resource_id : String)
Sourceupdate(response : HTTP::Client::Response)
Sourceupdate(*args, **opts)
Sourceupdate_request(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::All, conference = nil, raw_json : String | Nil = nil, **opts)
Sourcewatch(response : HTTP::Client::Response)
Sourcewatch_request(watch_id : String, resource : String, notification_uri : String, token : String | Nil = nil, expiration : Time | Nil = nil)
SourceNested types
- Google::Calendar::Attachment
- Google::Calendar::Attendee
- Google::Calendar::Availability
- Google::Calendar::AvailabilityStatus
- Google::Calendar::CalendarAvailability
- Google::Calendar::ConferenceData
- Google::Calendar::ConferenceSolution
- Google::Calendar::EntryPoint
- Google::Calendar::Event
- Google::Calendar::Events
- Google::Calendar::GTime
- Google::Calendar::List
- Google::Calendar::ListEntry
- Google::Calendar::Notification