Calendar API v3 (revision 30)



com.google.api.services.calendar
Class Calendar.Calendars

java.lang.Object
  extended by com.google.api.services.calendar.Calendar.Calendars
Enclosing class:
Calendar

public class Calendar.Calendars
extends java.lang.Object

The "calendars" collection of methods.


Nested Class Summary
 class Calendar.Calendars.Clear
           
 class Calendar.Calendars.Delete
           
 class Calendar.Calendars.Get
           
 class Calendar.Calendars.Insert
           
 class Calendar.Calendars.Patch
           
 class Calendar.Calendars.Update
           
 
Constructor Summary
Calendar.Calendars()
           
 
Method Summary
 Calendar.Calendars.Clear clear(java.lang.String calendarId)
          Clears a primary calendar.
 Calendar.Calendars.Delete delete(java.lang.String calendarId)
          Deletes a secondary calendar.
 Calendar.Calendars.Get get(java.lang.String calendarId)
          Returns metadata for a calendar.
 Calendar.Calendars.Insert insert(Calendar content)
          Creates a secondary calendar.
 Calendar.Calendars.Patch patch(java.lang.String calendarId, Calendar content)
          Updates metadata for a calendar.
 Calendar.Calendars.Update update(java.lang.String calendarId, Calendar content)
          Updates metadata for a calendar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Calendar.Calendars

public Calendar.Calendars()
Method Detail

clear

public Calendar.Calendars.Clear clear(java.lang.String calendarId)
                               throws java.io.IOException
Clears a primary calendar. This operation deletes all data associated with the primary calendar of an account and cannot be undone. Create a request for the method "calendars.clear". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
calendarId - Calendar identifier.
Returns:
the request
Throws:
java.io.IOException

delete

public Calendar.Calendars.Delete delete(java.lang.String calendarId)
                                 throws java.io.IOException
Deletes a secondary calendar. Create a request for the method "calendars.delete". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
calendarId - Calendar identifier.
Returns:
the request
Throws:
java.io.IOException

get

public Calendar.Calendars.Get get(java.lang.String calendarId)
                           throws java.io.IOException
Returns metadata for a calendar. Create a request for the method "calendars.get". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
calendarId - Calendar identifier.
Returns:
the request
Throws:
java.io.IOException

insert

public Calendar.Calendars.Insert insert(Calendar content)
                                 throws java.io.IOException
Creates a secondary calendar. Create a request for the method "calendars.insert". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
content - the Calendar
Returns:
the request
Throws:
java.io.IOException

patch

public Calendar.Calendars.Patch patch(java.lang.String calendarId,
                                      Calendar content)
                               throws java.io.IOException
Updates metadata for a calendar. This method supports patch semantics. Create a request for the method "calendars.patch". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
calendarId - Calendar identifier.
content - the Calendar
Returns:
the request
Throws:
java.io.IOException

update

public Calendar.Calendars.Update update(java.lang.String calendarId,
                                        Calendar content)
                                 throws java.io.IOException
Updates metadata for a calendar. Create a request for the method "calendars.update". This request holds the parameters needed by the the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
calendarId - Calendar identifier.
content - the Calendar
Returns:
the request
Throws:
java.io.IOException