Class CalendarEventActionResponseBuilder

CalendarEventActionResponseBuilder

CalendarEventActionResponse 객체의 빌더입니다.

메서드

메서드반환 유형간략한 설명
addAttachments(attachments)CalendarEventActionResponseBuilder연결된 UI 작업이 수행될 때 대답이 캘린더 일정에 첨부파일을 추가해야 함을 지정합니다.
addAttendees(emails)CalendarEventActionResponseBuilder연결된 UI 작업이 실행될 때 응답이 표시된 참석자를 캘린더 일정에 추가해야 함을 지정합니다.
build()CalendarEventActionResponse현재 Calendar 이벤트 작업 응답을 빌드하고 유효성을 검사합니다.
setConferenceData(conferenceData)CalendarEventActionResponseBuilder연결된 UI 작업이 실행될 때 응답이 표시된 회의 데이터를 캘린더 일정에 설정해야 함을 지정합니다.

자세한 문서

addAttachments(attachments)

연결된 UI 작업이 수행될 때 대답이 캘린더 일정에 첨부파일을 추가해야 함을 지정합니다.

매개변수

이름유형설명
attachmentsAttachment[]추가할 Attachment의 배열입니다.

리턴

CalendarEventActionResponseBuilder - 연결을 위한 이 객체


addAttendees(emails)

연결된 UI 작업이 실행될 때 응답이 표시된 참석자를 캘린더 일정에 추가해야 함을 지정합니다.

매개변수

이름유형설명
emailsString[]일정에 추가할 이메일 주소의 배열입니다.

리턴

CalendarEventActionResponseBuilder - 연결을 위한 이 객체

생성 값

Error - 참석자가 너무 많이 추가된 경우


build()

현재 Calendar 이벤트 작업 응답을 빌드하고 유효성을 검사합니다.

리턴

CalendarEventActionResponse - 검증된 CalendarEventActionResponse입니다.

생성 값

Error - 구성된 캘린더 일정 작업 응답이 유효하지 않은 경우


setConferenceData(conferenceData)

연결된 UI 작업이 실행될 때 응답이 표시된 회의 데이터를 캘린더 일정에 설정해야 함을 지정합니다.

매개변수

이름유형설명
conferenceDataConferenceData부가기능에서 만든 회의 데이터로, 이벤트에 설정됩니다.

리턴

CalendarEventActionResponseBuilder - 연결을 위한 이 객체