REST Resource: changes
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: बदलाव
किसी फ़ाइल या शेयर की गई ड्राइव में किए गए बदलाव की जानकारी.
JSON के काेड में दिखाना |
{
"id": string,
"deleted": boolean,
"file": {
object (File )
},
"fileId": string,
"modificationDate": string,
"kind": string,
"type": string,
"teamDriveId": string,
"teamDrive": {
object (TeamDrive )
},
"changeType": string,
"selfLink": string,
"driveId": string,
"drive": {
object (Drive )
}
} |
फ़ील्ड |
id |
string (int64 format)
बदलाव का आईडी.
|
deleted |
boolean
फ़ाइल या शेयर की गई ड्राइव को बदलावों की इस सूची से हटाया गया है या नहीं. उदाहरण के लिए, मिटाने या ऐक्सेस खोने की वजह से.
|
file |
object (File )
फ़ाइल की अपडेट की गई स्थिति. यह तब दिखता है, जब टाइप फ़ाइल हो और फ़ाइल को बदलावों की इस सूची से नहीं हटाया गया हो.
|
fileId |
string
इस बदलाव से जुड़ी फ़ाइल का आईडी.
|
modificationDate |
string
बदलाव करने का समय.
|
kind |
string
यह हमेशा drive#change होती है.
|
type (deprecated) |
string
इस्तेमाल नहीं किया जा सकता: इसके बजाय, changeType का इस्तेमाल करें.
|
teamDriveId (deprecated) |
string
इस्तेमाल नहीं किया जा सकता: इसके बजाय, driveId का इस्तेमाल करें.
|
teamDrive (deprecated) |
object (TeamDrive )
इस्तेमाल नहीं किया जा सकता: इसके बजाय, drive का इस्तेमाल करें.
|
changeType |
string
बदलाव किस तरह का है. file और drive को वैल्यू के तौर पर इस्तेमाल किया जा सकता है.
|
selfLink |
string
इस बदलाव का लिंक.
|
driveId |
string
इस बदलाव से जुड़ी शेयर की गई ड्राइव का आईडी.
|
drive |
object (Drive )
शेयर की गई ड्राइव की अपडेट की गई स्थिति. यह तब दिखता है, जब changeType की वैल्यू drive हो, उपयोगकर्ता अब भी शेयर की गई ड्राइव का सदस्य हो, और शेयर की गई ड्राइव को मिटाया न गया हो.
|
तरीके |
|
अब काम नहीं करता: हाल ही में किए गए बदलावों को वापस पाने के लिए, changes.getStartPageToken और changes.list का इस्तेमाल करें. |
|
आने वाले समय में होने वाले बदलावों को लिस्ट करने के लिए, शुरुआती pageToken पाता है. |
|
किसी उपयोगकर्ता या शेयर की गई ड्राइव में किए गए बदलावों की सूची दिखाता है. |
|
किसी उपयोगकर्ता के लिए बदलावों की सदस्यता लें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# REST Resource: changes\n\n- [Resource: Change](#Change)\n - [JSON representation](#Change.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Change\n----------------\n\nRepresentation of a change to a file or shared drive.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"deleted\": boolean, \"file\": { object (/workspace/drive/api/reference/rest/v2/files#File) }, \"fileId\": string, \"modificationDate\": string, \"kind\": string, \"type\": string, \"teamDriveId\": string, \"teamDrive\": { object (/workspace/drive/api/reference/rest/v2/teamdrives#TeamDrive) }, \"changeType\": string, \"selfLink\": string, \"driveId\": string, \"drive\": { object (/workspace/drive/api/reference/rest/v2/drives#Drive) } } ``` |\n\n| Fields ||\n|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the change. |\n| `deleted` | `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/v2/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 associated with this change. |\n| `modificationDate` | `string` The time of this modification. |\n| `kind` | `string` This is always `drive#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/v2/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| `selfLink` | `string` A link back to this change. |\n| `driveId` | `string` The ID of the shared drive associated with this change. |\n| `drive` | `object (`[Drive](/workspace/drive/api/reference/rest/v2/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| ### [get](/workspace/drive/api/reference/rest/v2/changes/get) | Deprecated: Use `changes.getStartPageToken` and `changes.list` to retrieve recent changes. |\n| ### [getStartPageToken](/workspace/drive/api/reference/rest/v2/changes/getStartPageToken) | Gets the starting pageToken for listing future changes. |\n| ### [list](/workspace/drive/api/reference/rest/v2/changes/list) | Lists the changes for a user or shared drive. |\n| ### [watch](/workspace/drive/api/reference/rest/v2/changes/watch) | Subscribe to changes for a user. |"]]