Class AclResource
The "acl" collection of methods.
Inherited Members
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class AclResource
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 |
---|---|---|
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. |
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 |
---|---|---|
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. |
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. |
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 |
---|---|---|
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. |
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. |
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. |
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. |
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. |
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 |