Calendars
class Calendars extends Resource (View source)
The "calendars" collection of methods.
Typical usage is:
$calendarService = new Google\Service\Calendar(...);
$calendars = $calendarService->calendars;
Methods
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. (calendars.clear)
Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. (calendars.delete)
Returns metadata for a calendar. (calendars.get)
Details
clear(string $calendarId, array $optParams = [])
Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. (calendars.clear)
delete(string $calendarId, array $optParams = [])
Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. (calendars.delete)
Calendar
get(string $calendarId, array $optParams = [])
Returns metadata for a calendar. (calendars.get)
Calendar
insert(Calendar $postBody, array $optParams = [])
Creates a secondary calendar. (calendars.insert)
Calendar
patch(string $calendarId, Calendar $postBody, array $optParams = [])
Updates metadata for a calendar. This method supports patch semantics.
(calendars.patch)