Class CalendarEventActionResponse
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
CalendarEventActionResponse
Mewakili respons yang membuat perubahan pada acara kalender yang saat ini sedang diedit pengguna
sebagai reaksi terhadap tindakan yang dilakukan di UI, seperti klik tombol.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
Metode
| Metode | Jenis nilai yang ditampilkan | Deskripsi singkat |
printJson() | String | Mencetak representasi JSON dari objek ini. |
Dokumentasi mendetail
printJson()
Mencetak representasi JSON dari objek ini. Opsi ini hanya untuk proses debug.
Pulang pergi
String
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2026-04-13 UTC.
[null,null,["Terakhir diperbarui pada 2026-04-13 UTC."],[],["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"]]