Skip to main content
createCalendarAccessRule grants one principal or public scope a calendar role.

Example

Inputs

Output

Returns the created { id, role, scope }. Preserve id for updates or deletion.
A default scope can make the calendar public. Grant owner only when transferring owner-level control is intended and supported by Google.