Class Google_Service_Calendar_Calendars_Resource
The "calendars" collection of methods. Typical usage is:
$calendarService = new Google_Service_Calendar(...);
$calendars = $calendarService->calendars;
-
Google_Service_Resource
-
Google_Service_Calendar_Calendars_Resource
Located at Calendar.php
Methods summary
public
|
#
clear( string $calendarId, array $optParams = array() )
Clears a primary calendar. This operation deletes all events associated with
the primary calendar of an account. (calendars.clear)
Clears a primary calendar. This operation deletes all events associated with
the primary calendar of an account. (calendars.clear)
Parameters
- $calendarId
- Calendar identifier. To retrieve calendar IDs call the calendarList.list method.
If you want to access the primary calendar of the currently logged in user, use
the "primary" keyword.
- $optParams
- Optional parameters.
|
public
|
#
delete( string $calendarId, array $optParams = array() )
Deletes a secondary calendar. Use calendars.clear for clearing all events on
primary calendars. (calendars.delete)
Deletes a secondary calendar. Use calendars.clear for clearing all events on
primary calendars. (calendars.delete)
Parameters
- $calendarId
- Calendar identifier. To retrieve calendar IDs call the calendarList.list method.
If you want to access the primary calendar of the currently logged in user, use
the "primary" keyword.
- $optParams
- Optional parameters.
|
public
Google_Service_Calendar_Calendar
|
#
get( string $calendarId, array $optParams = array() )
Returns metadata for a calendar. (calendars.get)
Returns metadata for a calendar. (calendars.get)
Parameters
- $calendarId
- Calendar identifier. To retrieve calendar IDs call the calendarList.list method.
If you want to access the primary calendar of the currently logged in user, use
the "primary" keyword.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Calendar_Calendar
|
#
insert( Google_Service_Calendar_Calendar $postBody, array $optParams = array() )
Creates a secondary calendar. (calendars.insert)
Creates a secondary calendar. (calendars.insert)
Parameters
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Calendar_Calendar
|
#
patch( string $calendarId, Google_Service_Calendar_Calendar $postBody, array $optParams = array() )
Updates metadata for a calendar. This method supports patch semantics.
(calendars.patch)
Updates metadata for a calendar. This method supports patch semantics.
(calendars.patch)
Parameters
- $calendarId
- Calendar identifier. To retrieve calendar IDs call the calendarList.list method.
If you want to access the primary calendar of the currently logged in user, use
the "primary" keyword.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Calendar_Calendar
|
#
update( string $calendarId, Google_Service_Calendar_Calendar $postBody, array $optParams = array() )
Updates metadata for a calendar. (calendars.update)
Updates metadata for a calendar. (calendars.update)
Parameters
- $calendarId
- Calendar identifier. To retrieve calendar IDs call the calendarList.list method.
If you want to access the primary calendar of the currently logged in user, use
the "primary" keyword.
- $postBody
- $optParams
- Optional parameters.
Returns
|