@maxim_mazurok/gapi.client.drive-v3 0.0.20241202 → 0.0.20241209
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/index.d.ts +13 -13
- package/package.json +1 -1
- package/readme.md +12 -12
package/index.d.ts
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
11
11
|
// Generated from: https://www.googleapis.com/discovery/v1/apis/drive/v3/rest
|
12
|
-
// Revision:
|
12
|
+
// Revision: 20241209
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -1044,7 +1044,7 @@ declare namespace gapi.client {
|
|
1044
1044
|
photoLink?: string;
|
1045
1045
|
}
|
1046
1046
|
interface AboutResource {
|
1047
|
-
/** Gets information about the user, the user's Drive, and system capabilities. */
|
1047
|
+
/** Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1048
1048
|
get(request?: {
|
1049
1049
|
/** V1 error format. */
|
1050
1050
|
'$.xgafv'?: string;
|
@@ -1195,7 +1195,7 @@ declare namespace gapi.client {
|
|
1195
1195
|
): Request<void>;
|
1196
1196
|
}
|
1197
1197
|
interface AppsResource {
|
1198
|
-
/** Gets a specific app. */
|
1198
|
+
/** Gets a specific app. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info). */
|
1199
1199
|
get(request?: {
|
1200
1200
|
/** V1 error format. */
|
1201
1201
|
'$.xgafv'?: string;
|
@@ -1222,7 +1222,7 @@ declare namespace gapi.client {
|
|
1222
1222
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1223
1223
|
uploadType?: string;
|
1224
1224
|
}): Request<App>;
|
1225
|
-
/** Lists a user's installed apps. */
|
1225
|
+
/** Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info). */
|
1226
1226
|
list(request?: {
|
1227
1227
|
/** V1 error format. */
|
1228
1228
|
'$.xgafv'?: string;
|
@@ -1255,7 +1255,7 @@ declare namespace gapi.client {
|
|
1255
1255
|
}): Request<AppList>;
|
1256
1256
|
}
|
1257
1257
|
interface ChangesResource {
|
1258
|
-
/** Gets the starting pageToken for listing future changes. */
|
1258
|
+
/** Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-changes). */
|
1259
1259
|
getStartPageToken(request?: {
|
1260
1260
|
/** V1 error format. */
|
1261
1261
|
'$.xgafv'?: string;
|
@@ -1288,7 +1288,7 @@ declare namespace gapi.client {
|
|
1288
1288
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1289
1289
|
uploadType?: string;
|
1290
1290
|
}): Request<StartPageToken>;
|
1291
|
-
/** Lists the changes for a user or shared drive. */
|
1291
|
+
/** Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-changes). */
|
1292
1292
|
list(request?: {
|
1293
1293
|
/** V1 error format. */
|
1294
1294
|
'$.xgafv'?: string;
|
@@ -1341,7 +1341,7 @@ declare namespace gapi.client {
|
|
1341
1341
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1342
1342
|
uploadType?: string;
|
1343
1343
|
}): Request<ChangeList>;
|
1344
|
-
/** Subscribes to changes for a user. */
|
1344
|
+
/** Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/drive/api/guides/push). */
|
1345
1345
|
watch(request: {
|
1346
1346
|
/** V1 error format. */
|
1347
1347
|
'$.xgafv'?: string;
|
@@ -1453,7 +1453,7 @@ declare namespace gapi.client {
|
|
1453
1453
|
): Request<Channel>;
|
1454
1454
|
}
|
1455
1455
|
interface ChannelsResource {
|
1456
|
-
/** Stops watching resources through this channel. */
|
1456
|
+
/** Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/drive/api/guides/push). */
|
1457
1457
|
stop(request: {
|
1458
1458
|
/** V1 error format. */
|
1459
1459
|
'$.xgafv'?: string;
|
@@ -1509,7 +1509,7 @@ declare namespace gapi.client {
|
|
1509
1509
|
): Request<void>;
|
1510
1510
|
}
|
1511
1511
|
interface CommentsResource {
|
1512
|
-
/** Creates a comment on a file. */
|
1512
|
+
/** Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1513
1513
|
create(request: {
|
1514
1514
|
/** V1 error format. */
|
1515
1515
|
'$.xgafv'?: string;
|
@@ -1567,7 +1567,7 @@ declare namespace gapi.client {
|
|
1567
1567
|
},
|
1568
1568
|
body: Comment
|
1569
1569
|
): Request<Comment>;
|
1570
|
-
/** Deletes a comment. */
|
1570
|
+
/** Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1571
1571
|
delete(request?: {
|
1572
1572
|
/** V1 error format. */
|
1573
1573
|
'$.xgafv'?: string;
|
@@ -1596,7 +1596,7 @@ declare namespace gapi.client {
|
|
1596
1596
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1597
1597
|
uploadType?: string;
|
1598
1598
|
}): Request<void>;
|
1599
|
-
/** Gets a comment by ID. */
|
1599
|
+
/** Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1600
1600
|
get(request?: {
|
1601
1601
|
/** V1 error format. */
|
1602
1602
|
'$.xgafv'?: string;
|
@@ -1627,7 +1627,7 @@ declare namespace gapi.client {
|
|
1627
1627
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1628
1628
|
uploadType?: string;
|
1629
1629
|
}): Request<Comment>;
|
1630
|
-
/** Lists a file's comments. */
|
1630
|
+
/** Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1631
1631
|
list(request?: {
|
1632
1632
|
/** V1 error format. */
|
1633
1633
|
'$.xgafv'?: string;
|
@@ -1662,7 +1662,7 @@ declare namespace gapi.client {
|
|
1662
1662
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1663
1663
|
uploadType?: string;
|
1664
1664
|
}): Request<CommentList>;
|
1665
|
-
/** Updates a comment with patch semantics. */
|
1665
|
+
/** Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1666
1666
|
update(request: {
|
1667
1667
|
/** V1 error format. */
|
1668
1668
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -98,7 +98,7 @@ After that you can use Google Drive API resources: <!-- TODO: make this work for
|
|
98
98
|
```typescript
|
99
99
|
|
100
100
|
/*
|
101
|
-
Gets information about the user, the user's Drive, and system capabilities.
|
101
|
+
Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).
|
102
102
|
*/
|
103
103
|
await gapi.client.drive.about.get({ });
|
104
104
|
|
@@ -118,57 +118,57 @@ Used to approve or deny an Access Proposal.
|
|
118
118
|
await gapi.client.drive.accessproposals.resolve({ fileId: "fileId", proposalId: "proposalId", });
|
119
119
|
|
120
120
|
/*
|
121
|
-
Gets a specific app.
|
121
|
+
Gets a specific app. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info).
|
122
122
|
*/
|
123
123
|
await gapi.client.drive.apps.get({ appId: "appId", });
|
124
124
|
|
125
125
|
/*
|
126
|
-
Lists a user's installed apps.
|
126
|
+
Lists a user's installed apps. For more information, see [Return user info](https://developers.google.com/drive/api/guides/user-info).
|
127
127
|
*/
|
128
128
|
await gapi.client.drive.apps.list({ });
|
129
129
|
|
130
130
|
/*
|
131
|
-
Gets the starting pageToken for listing future changes.
|
131
|
+
Gets the starting pageToken for listing future changes. For more information, see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-changes).
|
132
132
|
*/
|
133
133
|
await gapi.client.drive.changes.getStartPageToken({ });
|
134
134
|
|
135
135
|
/*
|
136
|
-
Lists the changes for a user or shared drive.
|
136
|
+
Lists the changes for a user or shared drive. For more information, see [Retrieve changes](https://developers.google.com/drive/api/guides/manage-changes).
|
137
137
|
*/
|
138
138
|
await gapi.client.drive.changes.list({ pageToken: "pageToken", });
|
139
139
|
|
140
140
|
/*
|
141
|
-
Subscribes to changes for a user.
|
141
|
+
Subscribes to changes for a user. For more information, see [Notifications for resource changes](https://developers.google.com/drive/api/guides/push).
|
142
142
|
*/
|
143
143
|
await gapi.client.drive.changes.watch({ pageToken: "pageToken", });
|
144
144
|
|
145
145
|
/*
|
146
|
-
Stops watching resources through this channel.
|
146
|
+
Stops watching resources through this channel. For more information, see [Notifications for resource changes](https://developers.google.com/drive/api/guides/push).
|
147
147
|
*/
|
148
148
|
await gapi.client.drive.channels.stop({ });
|
149
149
|
|
150
150
|
/*
|
151
|
-
Creates a comment on a file.
|
151
|
+
Creates a comment on a file. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).
|
152
152
|
*/
|
153
153
|
await gapi.client.drive.comments.create({ fileId: "fileId", });
|
154
154
|
|
155
155
|
/*
|
156
|
-
Deletes a comment.
|
156
|
+
Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).
|
157
157
|
*/
|
158
158
|
await gapi.client.drive.comments.delete({ commentId: "commentId", fileId: "fileId", });
|
159
159
|
|
160
160
|
/*
|
161
|
-
Gets a comment by ID.
|
161
|
+
Gets a comment by ID. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).
|
162
162
|
*/
|
163
163
|
await gapi.client.drive.comments.get({ commentId: "commentId", fileId: "fileId", });
|
164
164
|
|
165
165
|
/*
|
166
|
-
Lists a file's comments.
|
166
|
+
Lists a file's comments. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).
|
167
167
|
*/
|
168
168
|
await gapi.client.drive.comments.list({ fileId: "fileId", });
|
169
169
|
|
170
170
|
/*
|
171
|
-
Updates a comment with patch semantics.
|
171
|
+
Updates a comment with patch semantics. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter).
|
172
172
|
*/
|
173
173
|
await gapi.client.drive.comments.update({ commentId: "commentId", fileId: "fileId", });
|
174
174
|
|