Class CalendarEventActionResponse
AgendaEventoAçãoResposta
Representa uma resposta que faz alterações no evento da agenda que o usuário está editando
em reação a uma ação realizada na interface, como um clique no botão.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
Métodos
Método | Tipo de retorno | Breve descrição |
printJson() | String | Mostra a representação JSON desse objeto. |
Documentação detalhada
printJson()
Mostra a representação JSON desse objeto. Isso é apenas para depuração.
Retornar
String
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-12-21 UTC.
[null,null,["Última atualização 2024-12-21 UTC."],[[["`CalendarEventActionResponse` enables modifications to a calendar event based on user actions within the UI."],["It facilitates actions like adding attendees or potentially other modifications (not explicitly stated) to the event being edited."],["Developers can utilize the `printJson()` method for debugging purposes to examine the JSON structure of the response."]]],["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"]]