Class CalendarEventActionResponse
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تقویمرویدادعملپاسخ نشاندهندهی پاسخی است که در واکنش به عملی که در رابط کاربری انجام میشود، مانند کلیک روی دکمه، تغییراتی را در رویداد تقویمی که کاربر در حال حاضر در حال ویرایش آن است، ایجاد میکند.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build(); روشها
| روش | نوع بازگشتی | شرح مختصر |
|---|
print Json() | String | نمایش JSON این شیء را چاپ میکند. |
مستندات دقیق
printJson()
نمایش JSON این شیء را چاپ میکند. این فقط برای اشکالزدایی است.
بازگشت
String
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2026-04-13 بهوقت ساعت هماهنگ جهانی.
[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"]]