تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توفّر Calendar API العديد من المفاهيم المفيدة بشكل أساسي لعملاء Google Workspace. يتوفّر لدى هؤلاء العملاء غالبًا موارد، مثل غرف وأجهزة عرض وما إلى ذلك، قد يريدون حجزها لفعاليات معيّنة. بالإضافة إلى ذلك، من الشائع إنشاء تطبيقات داخلية تحتاج إلى الوصول إلى جميع تقاويم المستخدمين في نطاق معيّن، مثلاً لإضافة أحداث خاصة بالشركة إليها.
موارد ونطاقات الغرف
يمكنك حجز الموارد والغرف من خلال إضافتها إلى الأحداث كضيوف باستخدام عناوين بريدهم الإلكتروني. عندما يتلقّى الضيف الدعوة، سيقبل الحدث أو يرفضه تلقائيًا استنادًا إلى مدى توفّر المستخدم الذي أرسل الدعوة وإذن الوصول الذي يملكه.
الوصول إلى تقاويم النطاق كتطبيق
يمكن لأي تطبيق الوصول إلى التقاويم المملوكة للنطاق بدون الحاجة إلى بيانات اعتماد المستخدم إذا تم إثبات هويته باستخدام حساب خدمة. يجب أن يمتلك حساب الخدمة إذن الوصول اللازم باستخدام تفويض الصلاحية على مستوى النطاق. لتنتحل هوية حساب مستخدم، حدِّد عنوان البريد الإلكتروني لحساب المستخدم باستخدام طريقة setServiceAccountUser في المصنع GoogleCredential.
تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# Domain resources, rooms & calendars\n\nCalendar API offers several concepts that are primarily useful for\n[Google Workspace](https://workspace.google.com/)\ncustomers. These customers often have\nresources---rooms, projectors, and so forth---that they may wish to\nbook for specific events. Furthermore, it's common to build internal apps that\nneed access to all user calendars in a domain, for example to add corporate\nevents to them.\n\nDomain resources \\& rooms\n-------------------------\n\nYou can book resources and rooms by adding them to events as attendees, using\ntheir email address. When they receive the invitation, they automatically\naccept or decline the event based on the availability and access right of the\ninviting user.\n| **Note:** The Calendar API does not offer a way to create resource calendars. To do this, you need to use the Directory API's [Calendar Resource](/workspace/admin/directory/reference/rest/v1/resources.calendars) object. The calendarId corresponds to the resourceEmail field of the Calendar Resource representation.\n\nAccessing domain calendars as an app\n------------------------------------\n\nAn app can access domain-owned calendars without requiring\nuser credentials if it authenticates using a [service\naccount](/identity/protocols/OAuth2ServiceAccount). The service account must\nhave the necessary access using [domain-wide authority\ndelegation](/identity/protocols/OAuth2ServiceAccount#delegatingauthority). In\norder to impersonate a user account, specify the email address of the user\naccount with the `setServiceAccountUser` method of the `GoogleCredential`\nfactory."]]