Stay organized with collections
Save and categorize content based on your preferences.
Calendar API offers several concepts that are primarily useful for
Google Workspace
customers. These customers often have
resources—rooms, projectors, and so forth—that they may wish to
book for specific events. Furthermore, it’s common to build internal apps that
need access to all user calendars in a domain, for example to add corporate
events to them.
Domain resources & rooms
You can book resources and rooms by adding them to events as attendees, using
their email address. When they receive the invitation, they automatically
accept or decline the event based on the availability and access right of the
inviting user.
Accessing domain calendars as an app
An app can access domain-owned calendars without requiring
user credentials if it authenticates using a service
account. The service account must
have the necessary access using domain-wide authority
delegation. In
order to impersonate a user account, specify the email address of the user
account with the setServiceAccountUser method of the GoogleCredential
factory.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[[["The Calendar API is especially useful for Google Workspace customers who manage resources and internal apps."],["Resources like rooms can be booked by adding them as attendees to events using their email addresses."],["The Directory API should be used to create resource calendars, while the Calendar API is used for booking and managing events."],["Apps can access domain calendars without user credentials if they authenticate using a service account with domain-wide authority delegation."],["Impersonating a user account allows the service account to access specific user calendars within the domain."]]],[]]