REST Resource: changes
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
المرجع: التغيير
تغيير في ملف أو مساحة تخزين سحابي مشتركة
تمثيل JSON |
{
"kind": string,
"removed": boolean,
"file": {
object (File )
},
"fileId": string,
"time": string,
"driveId": string,
"type": string,
"teamDriveId": string,
"teamDrive": {
object (TeamDrive )
},
"changeType": string,
"drive": {
object (Drive )
}
} |
الحقول |
kind |
string
لتحديد نوع المورد. القيمة: السلسلة الثابتة "drive#change" .
|
removed |
boolean
ما إذا تمّت إزالة الملف أو مساحة التخزين السحابي المشتركة من قائمة التغييرات هذه، مثلاً عن طريق الحذف أو فقدان إمكانية الوصول
|
file |
object (File )
الحالة المعدَّلة للملف يتم عرض هذا الحقل إذا كان النوع ملفًا ولم تتم إزالة الملف من قائمة التغييرات هذه.
|
fileId |
string
رقم تعريف الملف الذي تم تغييره.
|
time |
string
وقت هذا التغيير (التاريخ والوقت بتنسيق RFC 3339)
|
driveId |
string
معرّف مساحة التخزين السحابي المشتركة المرتبطة بهذا التغيير
|
type (deprecated) |
string
تم إيقاف هذه السياسة نهائيًا، لذا يُرجى استخدام changeType بدلاً منها.
|
teamDriveId (deprecated) |
string
تم إيقاف هذه السياسة نهائيًا، لذا يُرجى استخدام driveId بدلاً منها.
|
teamDrive (deprecated) |
object (TeamDrive )
تم إيقاف هذه السياسة نهائيًا، لذا يُرجى استخدام drive بدلاً منها.
|
changeType |
string
نوع التغيير القيم المحتمَلة هي file وdrive .
|
drive |
object (Drive )
الحالة المعدَّلة لمساحة التخزين السحابي المشتركة. يتم عرض هذا الحقل إذا كان نوع التغيير هو "مساحة تخزين سحابي"، وكان المستخدم لا يزال عضوًا في مساحة التخزين السحابي المشتركة، ولم يتم حذف مساحة التخزين السحابي المشتركة.
|
الطُرق |
|
تحصل على رمز مفتاح الصفحة الافتتاحي لعرض التغييرات المستقبلية. |
|
يسرد هذا التقرير التغييرات التي أجراها مستخدم أو مساحة تخزين سحابي مشتركة. |
|
الاشتراك في التغييرات التي تطرأ على مستخدم |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# REST Resource: changes\n\n- [Resource: Change](#Change)\n - [JSON representation](#Change.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Change\n----------------\n\nA change to a file or shared drive.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"removed\": boolean, \"file\": { object (/workspace/drive/api/reference/rest/v3/files#File) }, \"fileId\": string, \"time\": string, \"driveId\": string, \"type\": string, \"teamDriveId\": string, \"teamDrive\": { object (/workspace/drive/api/reference/rest/v3/teamdrives#TeamDrive) }, \"changeType\": string, \"drive\": { object (/workspace/drive/api/reference/rest/v3/drives#Drive) } } ``` |\n\n| Fields ||\n|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"drive#change\"`. |\n| `removed` | `boolean` Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access. |\n| `file` | `object (`[File](/workspace/drive/api/reference/rest/v3/files#File)`)` The updated state of the file. Present if the type is file and the file has not been removed from this list of changes. |\n| `fileId` | `string` The ID of the file which has changed. |\n| `time` | `string` The time of this change (RFC 3339 date-time). |\n| `driveId` | `string` The ID of the shared drive associated with this change. |\n| `type` **(deprecated)** | `string` | This item is deprecated! Deprecated: Use `changeType` instead. |\n| `teamDriveId` **(deprecated)** | `string` | This item is deprecated! Deprecated: Use `driveId` instead. |\n| `teamDrive` **(deprecated)** | `object (`[TeamDrive](/workspace/drive/api/reference/rest/v3/teamdrives#TeamDrive)`)` | This item is deprecated! Deprecated: Use `drive` instead. |\n| `changeType` | `string` The type of the change. Possible values are `file` and `drive`. |\n| `drive` | `object (`[Drive](/workspace/drive/api/reference/rest/v3/drives#Drive)`)` The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| ### [getStartPageToken](/workspace/drive/api/reference/rest/v3/changes/getStartPageToken) | Gets the starting pageToken for listing future changes. |\n| ### [list](/workspace/drive/api/reference/rest/v3/changes/list) | Lists the changes for a user or shared drive. |\n| ### [watch](/workspace/drive/api/reference/rest/v3/changes/watch) | Subscribes to changes for a user. |"]]