Google Drive 활동 서비스
Google Drive 활동 서비스를 사용하면 Apps Script에서 Google Drive 활동 API를 사용할 수 있습니다. 이 API를 사용하면 사용자가 프로그래매틱 방식으로 액세스하여 Google Drive 활동에 관한 정보를 검색할 수 있습니다.
참조
이 서비스에 관한 자세한 내용은 Google Drive Activity API의 참조 문서를 참고하세요. Apps Script의 모든 고급 서비스와 마찬가지로 Google Drive 활동 서비스는 공개 API와 동일한 객체, 메서드, 매개변수를 사용합니다. 자세한 내용은 메서드 서명 결정 방법을 참고하세요.
문제를 신고하고 다른 지원을 확인하려면 Google Drive 활동 지원 가이드를 참고하세요.
샘플 코드
아래 샘플 코드는 API의 버전 2를 사용합니다.
Google Drive에서 활동 가져오기
이 샘플은 사용자의 Google Drive에서 최근 활동을 가져와 각 활동의 시간, 행위자, 작업, 타겟에 관한 정보를 로깅합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-21(UTC)
[null,null,["최종 업데이트: 2024-12-21(UTC)"],[[["The Google Drive Activity service enables programmatic access to Google Drive activity data using the Google Drive Activity API within Apps Script."],["This advanced service requires enabling before use and mirrors the functionality of the public API, using the same objects, methods, and parameters."],["Comprehensive reference documentation, support resources, and sample code are available to guide developers in utilizing this service effectively."],["The provided sample code demonstrates retrieving and logging recent Drive activity, including time, actor, action, and target information, using version 2 of the API."]]],[]]