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

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

The newest version!






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












com.google.api.services.calendar

Class Calendar.Acl

  • Enclosing class:
    Calendar


    public class Calendar.Acl
    extends Object
    The "acl" collection of methods.
    • Constructor Detail

      • Acl

        public Acl()
    • Method Detail

      • delete

        public Calendar.Acl.Delete delete(String calendarId,
                                          String ruleId)
                                   throws IOException
        Deletes an access control rule. Create a request for the method "acl.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.
        ruleId - ACL rule identifier.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Calendar.Acl.Get get(String calendarId,
                                    String ruleId)
                             throws IOException
        Returns an access control rule. Create a request for the method "acl.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.
        ruleId - ACL rule identifier.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Calendar.Acl.Insert insert(String calendarId,
                                          AclRule content)
                                   throws IOException
        Creates an access control rule. Create a request for the method "acl.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:
        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 AclRule
        Returns:
        the request
        Throws:
        IOException
      • list

        public Calendar.Acl.List list(String calendarId)
                               throws IOException
        Returns the rules in the access control list for the calendar. Create a request for the method "acl.list". 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
      • patch

        public Calendar.Acl.Patch patch(String calendarId,
                                        String ruleId,
                                        AclRule content)
                                 throws IOException
        Updates an access control rule. This method supports patch semantics. Create a request for the method "acl.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.
        ruleId - ACL rule identifier.
        content - the AclRule
        Returns:
        the request
        Throws:
        IOException
      • update

        public Calendar.Acl.Update update(String calendarId,
                                          String ruleId,
                                          AclRule content)
                                   throws IOException
        Updates an access control rule. Create a request for the method "acl.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.
        ruleId - ACL rule identifier.
        content - the AclRule
        Returns:
        the request
        Throws:
        IOException
      • watch

        public Calendar.Acl.Watch watch(String calendarId,
                                        Channel content)
                                 throws IOException
        Watch for changes to ACL resources. Create a request for the method "acl.watch". 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 Channel
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy