Skip to main content
googleCalendar.getCalendar returns shared metadata such as title, timezone, location, owner, conference support, and defaults. Use googleCalendar.getCalendarListEntry for the connected user’s display and subscription settings.

Example

Inputs

calendar?: string accepts an exact visible title or ID and defaults to "primary". Second argument { account } selects the Google Account.

Output

Returns Signal<Calendar> with id, summary, optional description, location, timeZone, dataOwner, accessRole, colors, list visibility, selection and deletion flags, primary, autoAcceptInvitations, conferenceSolutionTypes, defaultReminders, notifications, and optional summaryOverride. accessRole is "freeBusyReader", "reader", "writerWithoutPrivateAccess", "writer", or "owner". List-only fields use neutral defaults when the provider’s calendar resource doesn’t supply them.