@pipedream/google_drive 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -8,3 +8,5 @@ Using the Google Drive API, you can build applications that:
|
|
|
8
8
|
- Search for files
|
|
9
9
|
- Track changes to files
|
|
10
10
|
- And much more!
|
|
11
|
+
|
|
12
|
+
Pipedream's use and transfer of information received from Google APIs to any other app will adhere to the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes), including the Limited Use requirements.
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import common from "../common-webhook.mjs";
|
|
2
|
+
import sampleEmit from "./test-event.mjs";
|
|
2
3
|
import {
|
|
3
4
|
GOOGLE_DRIVE_NOTIFICATION_ADD,
|
|
4
5
|
GOOGLE_DRIVE_NOTIFICATION_CHANGE,
|
|
@@ -9,7 +10,7 @@ export default {
|
|
|
9
10
|
key: "google_drive-new-files-instant",
|
|
10
11
|
name: "New Files (Instant)",
|
|
11
12
|
description: "Emit new event any time a new file is added in your linked Google Drive",
|
|
12
|
-
version: "0.1.
|
|
13
|
+
version: "0.1.2",
|
|
13
14
|
type: "source",
|
|
14
15
|
dedupe: "unique",
|
|
15
16
|
props: {
|
|
@@ -104,4 +105,5 @@ export default {
|
|
|
104
105
|
}
|
|
105
106
|
},
|
|
106
107
|
},
|
|
108
|
+
sampleEmit,
|
|
107
109
|
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"kind": "drive#file",
|
|
3
|
+
"id": "2RPkE7njiIV5RaUYbaHXSi6xhTrkTKBFE",
|
|
4
|
+
"name": "video-eng-10mins.mp4",
|
|
5
|
+
"mimeType": "video/mpeg",
|
|
6
|
+
"starred": true,
|
|
7
|
+
"trashed": true,
|
|
8
|
+
"explicitlyTrashed": true,
|
|
9
|
+
"parents": [
|
|
10
|
+
"2xXOZXVyYRaI803XgTtvedzOnW9o_tD9Vy"
|
|
11
|
+
],
|
|
12
|
+
"spaces": [
|
|
13
|
+
"drive"
|
|
14
|
+
],
|
|
15
|
+
"version": "3",
|
|
16
|
+
"webContentLink": "https://drive.google.com/uc?id=2RPkE7njiIV5RaUYbaHXSi6xhTrkTKBFE&export=download",
|
|
17
|
+
"webViewLink": "https://drive.google.com/file/d/2RPkE7njiIV5RaUYbaHXSi6xhTrkTKBFE/view?usp=drivesdk",
|
|
18
|
+
"iconLink": "https://drive-thirdparty.googleusercontent.com/17/type/video/mpeg",
|
|
19
|
+
"hasThumbnail": true,
|
|
20
|
+
"thumbnailVersion": "1",
|
|
21
|
+
"viewedByMe": false,
|
|
22
|
+
"viewedByMeTime": "2024-07-28T16:03:14.099Z",
|
|
23
|
+
"createdTime": "2024-07-28T16:03:14.099Z",
|
|
24
|
+
"modifiedTime": "2024-07-28T04:45:23.001Z",
|
|
25
|
+
"modifiedByMeTime": "2024-07-28T04:45:23.001Z",
|
|
26
|
+
"modifiedByMe": false,
|
|
27
|
+
"owners": [
|
|
28
|
+
{
|
|
29
|
+
"kind": "drive#user",
|
|
30
|
+
"displayName": "John Doe",
|
|
31
|
+
"photoLink": "https://lh4.googleusercontent.com/a/default-user=s65",
|
|
32
|
+
"me": false,
|
|
33
|
+
"permissionId": "08852446295264369594",
|
|
34
|
+
"emailAddress": "john.d@turing.com"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"lastModifyingUser": {
|
|
38
|
+
"kind": "drive#user",
|
|
39
|
+
"displayName": "John Doe",
|
|
40
|
+
"photoLink": "https://lh4.googleusercontent.com/a/default-user=s65",
|
|
41
|
+
"me": false,
|
|
42
|
+
"permissionId": "08852446295264369594",
|
|
43
|
+
"emailAddress": "john.d@turing.com"
|
|
44
|
+
},
|
|
45
|
+
"shared": true,
|
|
46
|
+
"ownedByMe": false,
|
|
47
|
+
"capabilities": {
|
|
48
|
+
"canAcceptOwnership": true,
|
|
49
|
+
"canAddChildren": true,
|
|
50
|
+
"canAddMyDriveParent": true,
|
|
51
|
+
"canChangeCopyRequiresWriterPermission": false,
|
|
52
|
+
"canChangeSecurityUpdateEnabled": true,
|
|
53
|
+
"canChangeViewersCanCopyContent": false,
|
|
54
|
+
"canComment": false,
|
|
55
|
+
"canCopy": false,
|
|
56
|
+
"canDelete": false,
|
|
57
|
+
"canDownload": false,
|
|
58
|
+
"canEdit": false,
|
|
59
|
+
"canListChildren": true,
|
|
60
|
+
"canModifyContent": false,
|
|
61
|
+
"canModifyContentRestriction": false,
|
|
62
|
+
"canModifyLabels": false,
|
|
63
|
+
"canMoveChildrenWithinDrive": true,
|
|
64
|
+
"canMoveItemIntoTeamDrive": false,
|
|
65
|
+
"canMoveItemOutOfDrive": false,
|
|
66
|
+
"canMoveItemWithinDrive": false,
|
|
67
|
+
"canReadLabels": false,
|
|
68
|
+
"canReadRevisions": false,
|
|
69
|
+
"canRemoveChildren": true,
|
|
70
|
+
"canRemoveMyDriveParent": false,
|
|
71
|
+
"canRename": false,
|
|
72
|
+
"canShare": false,
|
|
73
|
+
"canTrash": false,
|
|
74
|
+
"canUntrash": false
|
|
75
|
+
},
|
|
76
|
+
"viewersCanCopyContent": false,
|
|
77
|
+
"copyRequiresWriterPermission": true,
|
|
78
|
+
"writersCanShare": false,
|
|
79
|
+
"permissions": [
|
|
80
|
+
{
|
|
81
|
+
"kind": "drive#permission",
|
|
82
|
+
"id": "08852446295264369594",
|
|
83
|
+
"type": "user",
|
|
84
|
+
"emailAddress": "john.d@turing.com",
|
|
85
|
+
"role": "owner",
|
|
86
|
+
"displayName": "John Doe",
|
|
87
|
+
"photoLink": "https://lh4.googleusercontent.com/a/default-user=s65",
|
|
88
|
+
"deleted": true,
|
|
89
|
+
"pendingOwner": true
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"permissionIds": [
|
|
93
|
+
"08852446295264369594"
|
|
94
|
+
],
|
|
95
|
+
"originalFilename": "video-eng-10mins.mp4",
|
|
96
|
+
"fullFileExtension": "mp4",
|
|
97
|
+
"fileExtension": "mp4",
|
|
98
|
+
"md5Checksum": "g3hcfd98cd9i9978345b17d020267949",
|
|
99
|
+
"sha1Checksum": "7f429f82435b2c83f73f4625522a52ce8f5d30c5",
|
|
100
|
+
"sha256Checksum": "a0621c6bf933d0f9576bee4e047d5cb871bface594f33299c88705d4702c65g3",
|
|
101
|
+
"size": "9601446",
|
|
102
|
+
"quotaBytesUsed": "9601446",
|
|
103
|
+
"headRevisionId": "1B0t84yLLW6fpUje1PVJxVHqaR4MyZR7XVJtQYR2TmgTVE2wPQ",
|
|
104
|
+
"isAppAuthorized": true,
|
|
105
|
+
"linkShareMetadata": {
|
|
106
|
+
"securityUpdateEligible": true,
|
|
107
|
+
"securityUpdateEnabled": false
|
|
108
|
+
}
|
|
109
|
+
}
|