All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.calendar.Calendar.Calendars.html Maven / Gradle / Ivy

The newest version!






Calendar.Calendars (Calendar API v3-rev20241101-2.0.0)












com.google.api.services.calendar

Class Calendar.Calendars

  • Enclosing class:
    Calendar


    public class Calendar.Calendars
    extends Object
    The "calendars" collection of methods.
    • Constructor Detail

      • Calendars

        public Calendars()
    • Method Detail

      • clear

        public Calendar.Calendars.Clear clear(String calendarId)
                                       throws IOException
        Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. Create a request for the method "calendars.clear". This request holds the parameters needed by the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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:
        the request
        Throws:
        IOException
      • delete

        public Calendar.Calendars.Delete delete(String calendarId)
                                         throws IOException
        Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. Create a request for the method "calendars.delete". This request holds the parameters needed by the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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:
        the request
        Throws:
        IOException
      • get

        public Calendar.Calendars.Get get(String calendarId)
                                   throws IOException
        Returns metadata for a calendar. Create a request for the method "calendars.get". This request holds the parameters needed by the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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:
        the request
        Throws:
        IOException
      • insert

        public Calendar.Calendars.Insert insert(Calendar content)
                                         throws IOException
        Creates a secondary calendar. Create a request for the method "calendars.insert". This request holds the parameters needed by 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:
        IOException
      • patch

        public Calendar.Calendars.Patch patch(String calendarId,
                                              Calendar content)
                                       throws 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 calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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 Calendar
        Returns:
        the request
        Throws:
        IOException
      • update

        public Calendar.Calendars.Update update(String calendarId,
                                                Calendar content)
                                         throws IOException
        Updates metadata for a calendar. Create a request for the method "calendars.update". This request holds the parameters needed by the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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 Calendar
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy