Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
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.
CalendarEventActionResponse
Represents a response that makes changes to the calendar event that the user is currently editing
in reaction to an action taken in the UI, such as a button click.
// A CalendarEventActionResponse that adds two attendees to an event.constcalendarEventActionResponse=CardService.newCalendarEventActionResponseBuilder().addAttendees(['user1@example.com','user2@example.com']).build();
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 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"]]