Class CalendarListResource
The "calendarList" collection of methods.
public class CalendarListResource
- Inheritance
-
CalendarListResource
- Inherited Members
Constructors
CalendarListResource(IClientService)
Constructs a new resource.
public CalendarListResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string)
Removes a calendar from the user's calendar list.
public virtual CalendarListResource.DeleteRequest Delete(string calendarId)
Parameters
calendarId
stringCalendar 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.
Returns
Get(string)
Returns a calendar from the user's calendar list.
public virtual CalendarListResource.GetRequest Get(string calendarId)
Parameters
calendarId
stringCalendar 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.
Returns
Insert(CalendarListEntry)
Inserts an existing calendar into the user's calendar list.
public virtual CalendarListResource.InsertRequest Insert(CalendarListEntry body)
Parameters
body
CalendarListEntryThe body of the request.
Returns
List()
Returns the calendars on the user's calendar list.
public virtual CalendarListResource.ListRequest List()
Returns
Patch(CalendarListEntry, string)
Updates an existing calendar on the user's calendar list. This method supports patch semantics.
public virtual CalendarListResource.PatchRequest Patch(CalendarListEntry body, string calendarId)
Parameters
body
CalendarListEntryThe body of the request.
calendarId
stringCalendar 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.
Returns
Update(CalendarListEntry, string)
Updates an existing calendar on the user's calendar list.
public virtual CalendarListResource.UpdateRequest Update(CalendarListEntry body, string calendarId)
Parameters
body
CalendarListEntryThe body of the request.
calendarId
stringCalendar 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.
Returns
Watch(Channel)
Watch for changes to CalendarList resources.
public virtual CalendarListResource.WatchRequest Watch(Channel body)
Parameters
body
ChannelThe body of the request.