Class CalendarEventActionResponse
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
CalendarEventActionResponse
Reprezentuje odpowiedź, która wprowadza zmiany w wydarzeniu w kalendarzu, które użytkownik aktualnie edytuje w reakcji na działanie podjęte w interfejsie, np. kliknięcie przycisku.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
Metody
| Metoda | Zwracany typ | Krótki opis |
printJson() | String | Wyświetla reprezentację JSON tego obiektu. |
Szczegółowa dokumentacja
printJson()
Wyświetla reprezentację JSON tego obiektu. Służy tylko do debugowania.
Powrót
String
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2026-04-13 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]