ระบุบันทึกการเปลี่ยนแปลงที่จะติดตาม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
บันทึกการเปลี่ยนแปลงของผู้ใช้และไดรฟ์ที่แชร์จะกำหนดไว้ในภาพรวมของการเปลี่ยนแปลงและการแก้ไข คู่มือนี้ให้ข้อมูลเพิ่มเติมเกี่ยวกับรายการบันทึกการเปลี่ยนแปลงแต่ละรายการและเคล็ดลับเกี่ยวกับเวลาที่ควรติดตามการเปลี่ยนแปลงในบันทึกการเปลี่ยนแปลงของผู้ใช้หรือบันทึกการเปลี่ยนแปลงของไดรฟ์ที่แชร์
เปลี่ยนรายการหลังจากย้ายไฟล์ไปยังไดรฟ์ที่แชร์
หลังจากย้ายไฟล์ไปยังไดรฟ์ที่แชร์แล้ว บันทึกการเปลี่ยนแปลงของไดรฟ์ที่แชร์นั้นจะบันทึกการเปลี่ยนแปลงของไฟล์ดังกล่าวต่อไป ไม่ใช่บันทึกการเปลี่ยนแปลงของผู้ใช้ จากนั้นคุณควรค้นหาบันทึกการเปลี่ยนแปลงของไดรฟ์ที่แชร์เพื่อตรวจหาการเปลี่ยนแปลงใหม่ๆ ในรายการนั้น
เปลี่ยนรายการสำหรับแต่ละรายการในไดรฟ์ที่แชร์
หากผู้ที่ไม่ใช่สมาชิกได้รับสิทธิ์เข้าถึงไฟล์ในแต่ละรายการในไดรฟ์ที่แชร์
ระบบจะติดตามการเปลี่ยนแปลงในรายการเหล่านั้นในบันทึกการเปลี่ยนแปลงของผู้ใช้ ไม่ใช่บันทึกการเปลี่ยนแปลงของไดรฟ์ที่แชร์ ลักษณะการทำงานนี้จะเหมือนกับรายการที่ไม่ใช่ไดรฟ์ที่แชร์ซึ่งแชร์กับผู้ใช้โดยตรง
เปลี่ยนรายการสำหรับสิทธิ์เข้าถึงที่สูญหาย
หากผู้ใช้เสียสิทธิ์เข้าถึงไฟล์ รายการบันทึกการเปลี่ยนแปลงจะระบุว่า deleted
อย่างไรก็ตาม ผู้ใช้รายอื่นที่ยังมีสิทธิ์เข้าถึงไฟล์จะยังคงเข้าถึงไฟล์ได้ หากมีการลบรายการสำหรับผู้ใช้ทั้งหมด ระบบจะทำเครื่องหมาย deleted
ในบันทึกการเปลี่ยนแปลงของผู้ใช้ทั้งหมด
เมื่อย้ายไฟล์ระหว่างคลังของผู้ใช้ ไฟล์อาจปรากฏเป็น deleted
แม้ว่าผู้ใช้จะยังคงมีสิทธิ์เข้าถึงไฟล์ก็ตาม หากคุณค้นหาบันทึกการเปลี่ยนแปลงของคลังหลายรายการ ให้ใช้พารามิเตอร์ includeCorpusRemovals
ใน Changes.list เพื่อแยกความแตกต่างระหว่างการย้ายคลังกับการสูญเสียสิทธิ์เข้าถึง
ดูคำจำกัดความของคลังข้อความต่างๆ ได้ที่ภาพรวมของไฟล์และโฟลเดอร์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ 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)."]]