Calendar API v3 (revision 30)



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

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

public class Calendar.Acl
extends java.lang.Object

The "acl" collection of methods.


Nested Class Summary
 class Calendar.Acl.Delete
           
 class Calendar.Acl.Get
           
 class Calendar.Acl.Insert
           
 class Calendar.Acl.List
           
 class Calendar.Acl.Patch
           
 class Calendar.Acl.Update
           
 
Constructor Summary
Calendar.Acl()
           
 
Method Summary
 Calendar.Acl.Delete delete(java.lang.String calendarId, java.lang.String ruleId)
          Deletes an access control rule.
 Calendar.Acl.Get get(java.lang.String calendarId, java.lang.String ruleId)
          Returns an access control rule.
 Calendar.Acl.Insert insert(java.lang.String calendarId, AclRule content)
          Creates an access control rule.
 Calendar.Acl.List list(java.lang.String calendarId)
          Returns the rules in the access control list for the calendar.
 Calendar.Acl.Patch patch(java.lang.String calendarId, java.lang.String ruleId, AclRule content)
          Updates an access control rule.
 Calendar.Acl.Update update(java.lang.String calendarId, java.lang.String ruleId, AclRule content)
          Updates an access control rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Calendar.Acl

public Calendar.Acl()
Method Detail

delete

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

get

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

insert

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

list

public Calendar.Acl.List list(java.lang.String calendarId)
                       throws java.io.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 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

patch

public Calendar.Acl.Patch patch(java.lang.String calendarId,
                                java.lang.String ruleId,
                                AclRule content)
                         throws java.io.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 the calendar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
calendarId - Calendar identifier.
ruleId - ACL rule identifier.
content - the AclRule
Returns:
the request
Throws:
java.io.IOException

update

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