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