public class Calendar.Events
extends java.lang.Object
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(java.lang.String calendarId,
Event content)
Imports an event.
|
Calendar.Events.Delete |
delete(java.lang.String calendarId,
java.lang.String eventId)
Deletes an event.
|
Calendar.Events.Get |
get(java.lang.String calendarId,
java.lang.String eventId)
Returns an event.
|
Calendar.Events.Insert |
insert(java.lang.String calendarId,
Event content)
Creates an event.
|
Calendar.Events.Instances |
instances(java.lang.String calendarId,
java.lang.String eventId)
Returns instances of the specified recurring event.
|
Calendar.Events.List |
list(java.lang.String calendarId)
Returns events on the specified calendar.
|
Calendar.Events.Move |
move(java.lang.String calendarId,
java.lang.String eventId,
java.lang.String destination)
Moves an event to another calendar, i.e.
|
Calendar.Events.Patch |
patch(java.lang.String calendarId,
java.lang.String eventId,
Event content)
Updates an event.
|
Calendar.Events.QuickAdd |
quickAdd(java.lang.String calendarId,
java.lang.String text)
Creates an event based on a simple text string.
|
Calendar.Events.Update |
update(java.lang.String calendarId,
java.lang.String eventId,
Event content)
Updates an event.
|
Calendar.Events.Watch |
watch(java.lang.String calendarId,
Channel content)
Watch for changes to Events resources.
|
public Calendar.Events.Delete delete(java.lang.String calendarId, java.lang.String eventId) throws java.io.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.java.io.IOException
public Calendar.Events.Get get(java.lang.String calendarId, java.lang.String eventId) throws java.io.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.java.io.IOException
public Calendar.Events.CalendarImport calendarImport(java.lang.String calendarId, Event content) throws java.io.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 Event
java.io.IOException
public Calendar.Events.Insert insert(java.lang.String calendarId, Event content) throws java.io.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 Event
java.io.IOException
public Calendar.Events.Instances instances(java.lang.String calendarId, java.lang.String eventId) throws java.io.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.java.io.IOException
public Calendar.Events.List list(java.lang.String calendarId) throws java.io.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.java.io.IOException
public Calendar.Events.Move move(java.lang.String calendarId, java.lang.String eventId, java.lang.String destination) throws java.io.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.java.io.IOException
public Calendar.Events.Patch patch(java.lang.String calendarId, java.lang.String eventId, Event content) throws java.io.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 Event
java.io.IOException
public Calendar.Events.QuickAdd quickAdd(java.lang.String calendarId, java.lang.String text) throws java.io.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.java.io.IOException
public Calendar.Events.Update update(java.lang.String calendarId, java.lang.String eventId, Event content) throws java.io.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 Event
java.io.IOException
public Calendar.Events.Watch watch(java.lang.String calendarId, Channel content) throws java.io.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 Channel
java.io.IOException