Table of Contents

Class AclResource

Namespace
Google.Apis.Calendar.v3
Assembly
Google.Apis.Calendar.v3.dll

The "acl" collection of methods.

public class AclResource
Inheritance
AclResource
Inherited Members

Constructors

AclResource(IClientService)

Constructs a new resource.

public AclResource(IClientService service)

Parameters

service IClientService

Methods

Delete(string, string)

Deletes an access control rule.

public virtual AclResource.DeleteRequest Delete(string calendarId, string ruleId)

Parameters

calendarId string

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 string

ACL rule identifier.

Returns

AclResource.DeleteRequest

Get(string, string)

Returns an access control rule.

public virtual AclResource.GetRequest Get(string calendarId, string ruleId)

Parameters

calendarId string

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 string

ACL rule identifier.

Returns

AclResource.GetRequest

Insert(AclRule, string)

Creates an access control rule.

public virtual AclResource.InsertRequest Insert(AclRule body, string calendarId)

Parameters

body AclRule

The body of the request.

calendarId string

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

AclResource.InsertRequest

List(string)

Returns the rules in the access control list for the calendar.

public virtual AclResource.ListRequest List(string calendarId)

Parameters

calendarId string

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

AclResource.ListRequest

Patch(AclRule, string, string)

Updates an access control rule. This method supports patch semantics.

public virtual AclResource.PatchRequest Patch(AclRule body, string calendarId, string ruleId)

Parameters

body AclRule

The body of the request.

calendarId string

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 string

ACL rule identifier.

Returns

AclResource.PatchRequest

Update(AclRule, string, string)

Updates an access control rule.

public virtual AclResource.UpdateRequest Update(AclRule body, string calendarId, string ruleId)

Parameters

body AclRule

The body of the request.

calendarId string

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 string

ACL rule identifier.

Returns

AclResource.UpdateRequest

Watch(Channel, string)

Watch for changes to ACL resources.

public virtual AclResource.WatchRequest Watch(Channel body, string calendarId)

Parameters

body Channel

The body of the request.

calendarId string

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

AclResource.WatchRequest