이 문서에는 Google Calendar API 관련 승인 및 인증 정보가 포함되어 있습니다. 이 문서를 읽기 전에 인증 및 승인 알아보기에서 Google Workspace의 일반적인 인증 및 승인 정보를 읽어보세요.
승인을 위해 OAuth 2.0 구성
OAuth 동의 화면 구성 및 범위 선택을 통해 사용자와 앱 검토자에게 표시할 정보를 정의하고 나중에 게시할 수 있도록 앱을 등록합니다.
Calendar API 범위
앱에 부여된 액세스 수준을 정의하려면 승인 범위를 식별하고 선언해야 합니다. 승인 범위는 Google Workspace 앱 이름, 액세스하는 데이터 유형, 액세스 수준이 포함된 OAuth 2.0 URI 문자열입니다. 범위는 사용자의 Google 계정 데이터를 비롯한 Google Workspace 데이터를 사용하기 위한 앱의 요청입니다.
앱이 설치되면 사용자에게 앱에서 사용하는 범위를 확인해 달라는 메시지가 표시됩니다. 일반적으로 최대한 좁은 범위의 범위를 선택하고 앱에 필요하지 않은 범위를 요청하지 않는 것이 좋습니다. 사용자는 명확하게 설명된 제한된 범위에 더 쉽게 액세스 권한을 부여합니다.
Calendar API는 다음 범위를 지원합니다.
범위 | 의미 |
---|---|
https://www.googleapis.com/auth/calendar |
Google Calendar를 사용하여 액세스할 수 있는 모든 캘린더를 확인, 수정, 공유, 영구 삭제할 수 있습니다. |
https://www.googleapis.com/auth/calendar.readonly |
Calendar를 사용하여 액세스할 수 있는 모든 캘린더를 확인하고 다운로드하세요. |
https://www.googleapis.com/auth/calendar.freebusy |
캘린더에서 일정을 확인합니다. |
https://www.googleapis.com/auth/calendar.events |
모든 캘린더의 일정을 확인하고 수정합니다. |
https://www.googleapis.com/auth/calendar.events.readonly |
모든 캘린더의 일정을 확인합니다. |
https://www.googleapis.com/auth/calendar.settings.readonly |
Calendar 설정을 확인합니다. |
https://www.googleapis.com/auth/calendar.addons.execute |
캘린더 부가기능으로 실행합니다. |
https://www.googleapis.com/auth/calendar.addons.current.event.read |
Google Calendar에서 내가 여는 일정을 확인합니다. |
https://www.googleapis.com/auth/calendar.addons.current.event.write |
Google Calendar에서 내가 여는 일정을 수정합니다. |
https://www.googleapis.com/auth/calendar.events.owned |
내가 소유한 Google Calendar의 일정을 확인, 생성, 변경, 삭제할 수 있습니다. |
https://www.googleapis.com/auth/calendar.events.owned.readonly |
내가 소유한 Google Calendar의 일정을 확인합니다. |
https://www.googleapis.com/auth/calendar.events.freebusy |
액세스 권한이 있는 Google Calendar에서 참석 여부를 확인합니다. |
https://www.googleapis.com/auth/calendar.app.created |
보조 Google Calendar를 만들고 해당 캘린더에서 일정을 확인, 생성, 변경, 삭제할 수 있습니다. |
https://www.googleapis.com/auth/calendar.calendarlist |
구독 중인 Google Calendar를 보고 추가 및 삭제합니다. |
https://www.googleapis.com/auth/calendar.calendarlist.readonly |
구독 중인 Google Calendar의 목록을 확인합니다. |
https://www.googleapis.com/auth/calendar.calendars |
액세스 권한이 있는 Google Calendar의 속성을 확인하고 변경하며 보조 캘린더를 만듭니다. |
https://www.googleapis.com/auth/calendar.calendars.readonly |
액세스 권한이 있는 Google Calendar의 제목, 설명, 기본 시간대 및 기타 속성을 확인합니다. |
https://www.googleapis.com/auth/calendar.acls |
내가 소유한 Google Calendar의 공유 권한을 확인하고 변경할 수 있습니다. |
https://www.googleapis.com/auth/calendar.acls.readonly |
내가 소유한 Google Calendar의 공유 권한을 확인합니다. |
https://www.googleapis.com/auth/calendar.events.public.readonly |
공개 캘린더의 일정을 확인합니다. |