Google utilizza la tecnologia AI per tradurre i contenuti nella tua lingua preferita. Le traduzioni generate dall'AI potrebbero contenere errori.
Class CalendarEventActionResponse
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
CalendarEventActionResponse
Rappresenta una risposta che apporta modifiche all'evento di calendario che l'utente sta modificando in risposta a un'azione eseguita nell'interfaccia utente, ad esempio un clic su un pulsante.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
Metodi
| Metodo | Tipo restituito | Breve descrizione |
printJson() | String | Stampa la rappresentazione JSON di questo oggetto. |
Documentazione dettagliata
printJson()
Stampa la rappresentazione JSON di questo oggetto. Questa impostazione serve solo per il debug.
Indietro
String
[null,null,["Ultimo aggiornamento 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"]]