Class AclResource
The "acl" collection of methods.
Inheritance
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class AclResource : object
Constructors
AclResource(IClientService)
Constructs a new resource.
Declaration
public AclResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(String, String)
Deletes an access control rule.
Declaration
public virtual AclResource.DeleteRequest Delete(string calendarId, string ruleId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | 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. |
| System.String | ruleId | ACL rule identifier. |
Returns
| Type | Description |
|---|---|
| AclResource.DeleteRequest |
Get(String, String)
Returns an access control rule.
Declaration
public virtual AclResource.GetRequest Get(string calendarId, string ruleId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | 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. |
| System.String | ruleId | ACL rule identifier. |
Returns
| Type | Description |
|---|---|
| AclResource.GetRequest |
Insert(AclRule, String)
Creates an access control rule.
Declaration
public virtual AclResource.InsertRequest Insert(AclRule body, string calendarId)
Parameters
| Type | Name | Description |
|---|---|---|
| AclRule | body | The body of the request. |
| System.String | 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
| Type | Description |
|---|---|
| AclResource.InsertRequest |
List(String)
Returns the rules in the access control list for the calendar.
Declaration
public virtual AclResource.ListRequest List(string calendarId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | 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
| Type | Description |
|---|---|
| AclResource.ListRequest |
Patch(AclRule, String, String)
Updates an access control rule. This method supports patch semantics.
Declaration
public virtual AclResource.PatchRequest Patch(AclRule body, string calendarId, string ruleId)
Parameters
| Type | Name | Description |
|---|---|---|
| AclRule | body | The body of the request. |
| System.String | 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. |
| System.String | ruleId | ACL rule identifier. |
Returns
| Type | Description |
|---|---|
| AclResource.PatchRequest |
Update(AclRule, String, String)
Updates an access control rule.
Declaration
public virtual AclResource.UpdateRequest Update(AclRule body, string calendarId, string ruleId)
Parameters
| Type | Name | Description |
|---|---|---|
| AclRule | body | The body of the request. |
| System.String | 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. |
| System.String | ruleId | ACL rule identifier. |
Returns
| Type | Description |
|---|---|
| AclResource.UpdateRequest |
Watch(Channel, String)
Watch for changes to ACL resources.
Declaration
public virtual AclResource.WatchRequest Watch(Channel body, string calendarId)
Parameters
| Type | Name | Description |
|---|---|---|
| Channel | body | The body of the request. |
| System.String | 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
| Type | Description |
|---|---|
| AclResource.WatchRequest |