| Modifier and Type | Class and Description | 
|---|---|
class  | 
Calendar.Events.CalendarImport  | 
class  | 
Calendar.Events.Delete  | 
class  | 
Calendar.Events.Get  | 
class  | 
Calendar.Events.Insert  | 
class  | 
Calendar.Events.Instances  | 
class  | 
Calendar.Events.List  | 
class  | 
Calendar.Events.Move  | 
class  | 
Calendar.Events.Patch  | 
class  | 
Calendar.Events.QuickAdd  | 
class  | 
Calendar.Events.Update  | 
class  | 
Calendar.Events.Watch  | 
| Constructor and Description | 
|---|
Events()  | 
| Modifier and Type | Method and Description | 
|---|---|
Calendar.Events.CalendarImport | 
calendarImport(String calendarId,
              Event content)
Imports an event. 
 | 
Calendar.Events.Delete | 
delete(String calendarId,
      String eventId)
Deletes an event. 
 | 
Calendar.Events.Get | 
get(String calendarId,
   String eventId)
Returns an event based on its Google Calendar ID. 
 | 
Calendar.Events.Insert | 
insert(String calendarId,
      Event content)
Creates an event. 
 | 
Calendar.Events.Instances | 
instances(String calendarId,
         String eventId)
Returns instances of the specified recurring event. 
 | 
Calendar.Events.List | 
list(String calendarId)
Returns events on the specified calendar. 
 | 
Calendar.Events.Move | 
move(String calendarId,
    String eventId,
    String destination)
Moves an event to another calendar, i.e. 
 | 
Calendar.Events.Patch | 
patch(String calendarId,
     String eventId,
     Event content)
Updates an event. 
 | 
Calendar.Events.QuickAdd | 
quickAdd(String calendarId,
        String text)
Creates an event based on a simple text string. 
 | 
Calendar.Events.Update | 
update(String calendarId,
      String eventId,
      Event content)
Updates an event. 
 | 
Calendar.Events.Watch | 
watch(String calendarId,
     Channel content)
Watch for changes to Events resources. 
 | 
public Calendar.Events.Delete delete(String calendarId, String eventId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.eventId - Event identifier.IOExceptionpublic Calendar.Events.Get get(String calendarId, String eventId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.eventId - Event identifier.IOExceptionpublic Calendar.Events.CalendarImport calendarImport(String calendarId, Event content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.content - the EventIOExceptionpublic Calendar.Events.Insert insert(String calendarId, Event content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.content - the EventIOExceptionpublic Calendar.Events.Instances instances(String calendarId, String eventId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.eventId - Recurring event identifier.IOExceptionpublic Calendar.Events.List list(String calendarId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.IOExceptionpublic Calendar.Events.Move move(String calendarId, String eventId, String destination) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.calendarId - Calendar identifier of the source calendar where the event currently is on.eventId - Event identifier.destination - Calendar identifier of the target calendar where the event is to be moved to.IOExceptionpublic Calendar.Events.Patch patch(String calendarId, String eventId, Event content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.eventId - Event identifier.content - the EventIOExceptionpublic Calendar.Events.QuickAdd quickAdd(String calendarId, String text) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.text - The text describing the event to be created.IOExceptionpublic Calendar.Events.Update update(String calendarId, String eventId, Event content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.eventId - Event identifier.content - the EventIOExceptionpublic Calendar.Events.Watch watch(String calendarId, Channel content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.content - the ChannelIOExceptionCopyright © 2011–2025 Google. All rights reserved.