추적할 변경 로그 식별
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사용자 및 공유 드라이브 변경 로그는 변경사항 및 버전 개요에 정의되어 있습니다. 이 가이드에서는 개별 변경 로그 항목에 관한 자세한 정보와 사용자 변경 로그 또는 공유 드라이브 변경 로그에서 변경사항을 추적해야 하는 경우에 관한 도움말을 제공합니다.
파일이 공유 드라이브로 이동된 후 항목 변경
파일이 공유 드라이브로 이동된 후에는 사용자 변경 로그가 아닌 공유 드라이브 변경 로그에서 해당 파일의 변경사항을 계속 기록합니다. 그런 다음 공유 드라이브 변경 로그를 쿼리하여 해당 항목의 새로운 변경사항을 감지해야 합니다.
공유 드라이브의 개별 항목에 대한 항목 변경
비회원에게 공유 드라이브의 개별 항목에 대한 파일 액세스 권한이 부여되면
해당 항목의 변경사항은 공유 드라이브 변경 로그가 아닌 사용자 변경 로그에 추적됩니다. 이 동작은 사용자와 직접 공유된 비공유 드라이브 항목과 동일합니다.
액세스 권한 손실 항목 변경
사용자가 파일에 대한 액세스 권한을 잃으면 변경사항 로그 항목에 deleted
이 표시됩니다.
하지만 파일에 액세스할 수 있는 권한이 있는 다른 사용자는 계속해서 해당 파일을 사용할 수 있습니다. 모든 사용자에 대해 항목이 삭제되면 모든 사용자 변경 로그에 deleted
로 표시됩니다.
파일이 사용자 말뭉치 간에 이동하면 사용자가 파일에 대한 액세스 권한을 계속 보유하고 있더라도 deleted
로 표시될 수 있습니다. 여러 코퍼스의 변경 로그를 쿼리하는 경우 Changes.list에서 includeCorpusRemovals
매개변수를 사용하여 코퍼스 이동과 액세스 권한 손실을 구분합니다.
다양한 말뭉치의 정의는 파일 및 폴더 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-04(UTC)
[null,null,["최종 업데이트: 2025-08-04(UTC)"],[],[],null,["# Identify which change log to track\n\nThe user and shared drive change logs are defined in the [Changes and revisions overview](/workspace/drive/api/guides/change-overview). This guide provides more information about individual change log entries and tips for when to track changes in either the user change log or the shared drive change log.\n\nChange entry after file moves to a shared drive\n-----------------------------------------------\n\nAfter a file is moved to a shared drive, that shared drive change log continues logging changes for that file, not the user change log. You should then query the shared drive change log to detect new changes to that item.\n\nChange entry for individual items in a shared drive\n---------------------------------------------------\n\nIf a non-member is granted file access to individual items in a shared drive,\nchanges to those items are tracked in the user change log, not the shared drive change log. This behavior is the same as non-shared drive items that are shared directly with users.\n\nChange entry for lost access permission\n---------------------------------------\n\nIf a user loses access permission to a file, the change log entry will say `deleted`.\nHowever, the file is still available to other users who still have permission to access the file. If the item is deleted for all users, it will get marked `deleted` in all user change logs.\n\nWhen a file moves between user corpora it may also appear `deleted` even though the user still retains access to the file. If you query change logs for multiple corpora, use the `includeCorpusRemovals` parameter in [Changes.list](/workspace/drive/api/reference/rest/v3/changes/list) to disambiguate corpus moves from loss of access.\nFor definitions of different corpora, see [Files and folders overview](/workspace/drive/api/guides/about-files)."]]