googleCalendar.updateAccessRule changes a rule’s role while preserving its scope.
Example
Inputs
ProvideruleId and role. Roles are none, freeBusyReader, reader, writerWithoutPrivateAccess, writer, or owner. calendar defaults to primary, sendNotifications is optional, and second argument { account } selects the Google Account.
Output
Returns the updated{ id, role, scope }. The action first reads the existing rule so its principal can’t accidentally change. Create a new rule to change scope.