Class CalendarEventActionResponse

  • 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.
const calendarEventActionResponse =
    CardService.newCalendarEventActionResponseBuilder()
        .addAttendees(['user1@example.com', 'user2@example.com'])
        .build();

Methods

MethodReturn typeBrief description
printJson()StringPrints the JSON representation of this object.

Detailed documentation

printJson()

Prints the JSON representation of this object. This is for debugging only.

Return

String