Skip to content

Commit 93bb547

Browse files
committed
updated docs
1 parent ba48d08 commit 93bb547

File tree

1 file changed

+9
-26
lines changed

1 file changed

+9
-26
lines changed

apps/docs/content/docs/en/tools/google_drive.mdx

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ List files and folders in Google Drive with complete metadata
6666
| --------- | ---- | ----------- |
6767
| `files` | array | Array of file metadata objects from Google Drive |
6868
|`id` | string | Google Drive file ID |
69+
|`kind` | string | Resource type identifier |
6970
|`name` | string | File name |
7071
|`mimeType` | string | MIME type |
71-
|`kind` | string | Resource type identifier |
7272
|`description` | string | File description |
7373
|`originalFilename` | string | Original uploaded filename |
7474
|`fullFileExtension` | string | Full file extension |
@@ -135,6 +135,7 @@ Get metadata for a specific file in Google Drive by its ID
135135
| --------- | ---- | ----------- |
136136
| `file` | json | The file metadata |
137137
|`id` | string | Google Drive file ID |
138+
|`kind` | string | Resource type identifier |
138139
|`name` | string | File name |
139140
|`mimeType` | string | MIME type |
140141
|`description` | string | File description |
@@ -175,9 +176,9 @@ Create a new folder in Google Drive with complete metadata returned
175176
| --------- | ---- | ----------- |
176177
| `file` | object | Complete created folder metadata from Google Drive |
177178
|`id` | string | Google Drive folder ID |
179+
|`kind` | string | Resource type identifier |
178180
|`name` | string | Folder name |
179181
|`mimeType` | string | MIME type \(application/vnd.google-apps.folder\) |
180-
|`kind` | string | Resource type identifier |
181182
|`description` | string | Folder description |
182183
|`owners` | json | List of folder owners |
183184
|`permissions` | json | Folder permissions |
@@ -233,9 +234,9 @@ Upload a file to Google Drive with complete metadata returned
233234
| --------- | ---- | ----------- |
234235
| `file` | object | Complete uploaded file metadata from Google Drive |
235236
|`id` | string | Google Drive file ID |
237+
|`kind` | string | Resource type identifier |
236238
|`name` | string | File name |
237239
|`mimeType` | string | MIME type |
238-
|`kind` | string | Resource type identifier |
239240
|`description` | string | File description |
240241
|`originalFilename` | string | Original uploaded filename |
241242
|`fullFileExtension` | string | Full file extension |
@@ -309,9 +310,9 @@ Download a file from Google Drive with complete metadata (exports Google Workspa
309310
|`size` | number | File size in bytes |
310311
| `metadata` | object | Complete file metadata from Google Drive |
311312
|`id` | string | Google Drive file ID |
313+
|`kind` | string | Resource type identifier |
312314
|`name` | string | File name |
313315
|`mimeType` | string | MIME type |
314-
|`kind` | string | Resource type identifier |
315316
|`description` | string | File description |
316317
|`originalFilename` | string | Original uploaded filename |
317318
|`fullFileExtension` | string | Full file extension |
@@ -380,6 +381,7 @@ Create a copy of a file in Google Drive
380381
| --------- | ---- | ----------- |
381382
| `file` | json | The copied file metadata |
382383
|`id` | string | Google Drive file ID of the copy |
384+
|`kind` | string | Resource type identifier |
383385
|`name` | string | File name |
384386
|`mimeType` | string | MIME type |
385387
|`webViewLink` | string | URL to view in browser |
@@ -410,6 +412,7 @@ Update file metadata in Google Drive (rename, move, star, add description)
410412
| --------- | ---- | ----------- |
411413
| `file` | json | The updated file metadata |
412414
|`id` | string | Google Drive file ID |
415+
|`kind` | string | Resource type identifier |
413416
|`name` | string | File name |
414417
|`mimeType` | string | MIME type |
415418
|`description` | string | File description |
@@ -434,34 +437,13 @@ Move a file to the trash in Google Drive (can be restored later)
434437
| --------- | ---- | ----------- |
435438
| `file` | json | The trashed file metadata |
436439
|`id` | string | Google Drive file ID |
440+
|`kind` | string | Resource type identifier |
437441
|`name` | string | File name |
438442
|`mimeType` | string | MIME type |
439443
|`trashed` | boolean | Whether file is in trash \(should be true\) |
440444
|`trashedTime` | string | When file was trashed |
441445
|`webViewLink` | string | URL to view in browser |
442446

443-
### `google_drive_untrash`
444-
445-
Restore a file from the trash in Google Drive
446-
447-
#### Input
448-
449-
| Parameter | Type | Required | Description |
450-
| --------- | ---- | -------- | ----------- |
451-
| `fileId` | string | Yes | The ID of the file to restore from trash |
452-
453-
#### Output
454-
455-
| Parameter | Type | Description |
456-
| --------- | ---- | ----------- |
457-
| `file` | json | The restored file metadata |
458-
|`id` | string | Google Drive file ID |
459-
|`name` | string | File name |
460-
|`mimeType` | string | MIME type |
461-
|`trashed` | boolean | Whether file is in trash \(should be false\) |
462-
|`webViewLink` | string | URL to view in browser |
463-
|`parents` | json | Parent folder IDs |
464-
465447
### `google_drive_delete`
466448

467449
Permanently delete a file from Google Drive (bypasses trash)
@@ -557,6 +539,7 @@ List all permissions (who has access) for a file in Google Drive
557539
|`allowFileDiscovery` | boolean | Whether file is discoverable by grantee |
558540
|`pendingOwner` | boolean | Whether ownership transfer is pending |
559541
|`permissionDetails` | json | Details about inherited permissions |
542+
| `nextPageToken` | string | Token for fetching the next page of permissions |
560543

561544
### `google_drive_get_about`
562545

0 commit comments

Comments
 (0)