تستخدم Google تكنولوجيا الذكاء الاصطناعي لترجمة المحتوى إلى لغتك المفضّلة، وقد تتضمّن بعض الأخطاء.
Class CalendarEventActionResponse
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
CalendarEventActionResponse
يمثّل ردًا يُجري تغييرات على حدث التقويم الذي يعدّله المستخدم حاليًا ردًا على إجراء تم اتخاذه في واجهة المستخدم، مثل النقر على زر.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
الطُرق
| الطريقة | نوع القيمة التي تم إرجاعها | وصف قصير |
printJson() | String | يطبع التمثيل JSON لهذا الكائن. |
مستندات تفصيلية
printJson()
يطبع التمثيل JSON لهذا الكائن. هذا الإجراء مخصّص لتصحيح الأخطاء فقط.
الإرجاع
String
[null,null,["تاريخ التعديل الأخير: 2026-04-13 (حسب التوقيت العالمي المتفَّق عليه)"],[],["The `CalendarEventActionResponse` modifies a calendar event being edited in the UI, based on user actions. Key actions include adding attendees, demonstrated by the `addAttendees()` method, which accepts an array of email addresses. The class also provides the `printJson()` method for debugging, returning a string containing the JSON representation of the current state. The response is built using `CardService.newCalendarEventActionResponseBuilder()` and finalized with `build()`.\n"]]