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
- java.lang.Object
-
- com.google.api.services.calendar.Calendar.Acl
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Calendar.Acl.Delete
class
Calendar.Acl.Get
class
Calendar.Acl.Insert
class
Calendar.Acl.List
class
Calendar.Acl.Patch
class
Calendar.Acl.Update
class
Calendar.Acl.Watch
-
Constructor Summary
Constructors
Constructor and Description
Acl()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Calendar.Acl.Delete
delete(String calendarId,
String ruleId)
Deletes an access control rule.
Calendar.Acl.Get
get(String calendarId,
String ruleId)
Returns an access control rule.
Calendar.Acl.Insert
insert(String calendarId,
AclRule content)
Creates an access control rule.
Calendar.Acl.List
list(String calendarId)
Returns the rules in the access control list for the calendar.
Calendar.Acl.Patch
patch(String calendarId,
String ruleId,
AclRule content)
Updates an access control rule.
Calendar.Acl.Update
update(String calendarId,
String ruleId,
AclRule content)
Updates an access control rule.
Calendar.Acl.Watch
watch(String calendarId,
Channel content)
Watch for changes to ACL resources.
-
-
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