Table of Contents

Class CalendarsResource

Namespace
Google.Apis.Calendar.v3
Assembly
Google.Apis.Calendar.v3.dll

The "calendars" collection of methods.

public class CalendarsResource
Inheritance
CalendarsResource
Inherited Members

Constructors

CalendarsResource(IClientService)

Constructs a new resource.

public CalendarsResource(IClientService service)

Parameters

service IClientService

Methods

Clear(string)

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.

public virtual CalendarsResource.ClearRequest Clear(string calendarId)

Parameters

calendarId string

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.

Returns

CalendarsResource.ClearRequest

Delete(string)

Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.

public virtual CalendarsResource.DeleteRequest Delete(string calendarId)

Parameters

calendarId string

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.

Returns

CalendarsResource.DeleteRequest

Get(string)

Returns metadata for a calendar.

public virtual CalendarsResource.GetRequest Get(string calendarId)

Parameters

calendarId string

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.

Returns

CalendarsResource.GetRequest

Insert(Calendar)

Creates a secondary calendar.

public virtual CalendarsResource.InsertRequest Insert(Calendar body)

Parameters

body Calendar

The body of the request.

Returns

CalendarsResource.InsertRequest

Patch(Calendar, string)

Updates metadata for a calendar. This method supports patch semantics.

public virtual CalendarsResource.PatchRequest Patch(Calendar body, string calendarId)

Parameters

body Calendar

The body of the request.

calendarId string

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.

Returns

CalendarsResource.PatchRequest

Update(Calendar, string)

Updates metadata for a calendar.

public virtual CalendarsResource.UpdateRequest Update(Calendar body, string calendarId)

Parameters

body Calendar

The body of the request.

calendarId string

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.

Returns

CalendarsResource.UpdateRequest