IGmailClientAsync.FetchAccessRuleAsync
IGmailClientAsync.FetchAccessRuleAsync method
Asynchronously fetches an access control rule by its ID from a calendar.
public Task<AccessControlRule> FetchAccessRuleAsync(string calendarId, string roleId,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| calendarId | String | The ID of the calendar. |
| roleId | String | The ID of the access control rule. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains the fetched AccessControlRule.
See Also
- class AccessControlRule
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email