Class CalendarEventActionResponse

  • CalendarEventActionResponse represents a response that modifies a calendar event being edited based on a user action.

  • You can use the CalendarEventActionResponseBuilder to create a response, for example, to add attendees to an event.

  • The printJson() method is available for debugging purposes, returning a JSON representation of the object.

CalendarEventActionResponse

Represents a response that makes changes to the calendar event that the user is currently editingin 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();

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-12-02 UTC.