Class CalendarEventActionResponse
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
CalendarEventActionResponse
버튼 클릭과 같은 UI에서 수행된 작업에 대한 응답으로 사용자가 현재 수정 중인 캘린더 일정을 변경하는 응답을 나타냅니다.
// A CalendarEventActionResponse that adds two attendees to an event.
const calendarEventActionResponse =
CardService.newCalendarEventActionResponseBuilder()
.addAttendees(['user1@example.com', 'user2@example.com'])
.build();
자세한 문서
printJson()
이 객체의 JSON 표현을 출력합니다. 디버깅 전용입니다.
리턴
String
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eCalendarEventActionResponse\u003c/code\u003e enables modifications to a calendar event based on user actions within the UI.\u003c/p\u003e\n"],["\u003cp\u003eIt facilitates actions like adding attendees or potentially other modifications (not explicitly stated) to the event being edited.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the \u003ccode\u003eprintJson()\u003c/code\u003e method for debugging purposes to examine the JSON structure of the response.\u003c/p\u003e\n"]]],["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"],null,["# Class CalendarEventActionResponse\n\nCalendarEventActionResponse\n\nRepresents a response that makes changes to the calendar event that the user is currently editing\nin reaction to an action taken in the UI, such as a button click.\n\n```javascript\n// A CalendarEventActionResponse that adds two attendees to an event.\nconst calendarEventActionResponse =\n CardService.newCalendarEventActionResponseBuilder()\n .addAttendees(['user1@example.com', 'user2@example.com'])\n .build();\n``` \n\n### Methods\n\n| Method | Return type | Brief description |\n|-----------------------------|-------------|------------------------------------------------|\n| [printJson()](#printJson()) | `String` | Prints the JSON representation of this object. |\n\nDetailed documentation\n----------------------\n\n### `print``Json()`\n\nPrints the JSON representation of this object. This is for debugging only.\n\n#### Return\n\n\n`String`"]]