IGmailClientAsync.UpdateAccessRuleAsync

IGmailClientAsync.UpdateAccessRuleAsync method

Asynchronously updates an access control rule for a calendar.

public Task<AccessControlRule> UpdateAccessRuleAsync(string calendarId, AccessControlRule role, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
calendarIdStringThe ID of the calendar.
roleAccessControlRuleThe access control rule to update.
cancellationTokenCancellationTokenA cancellation token.

Return Value

A task that represents the asynchronous operation. The task result contains the updated AccessControlRule.

See Also