@maxim_mazurok/gapi.client.drive-v3 0.1.20250811 → 0.1.20250821
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 +11 -11
- package/package.json +1 -1
- package/readme.md +10 -10
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: 20250821
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -1752,7 +1752,7 @@ declare namespace gapi.client {
|
|
1752
1752
|
): Request<Comment>;
|
1753
1753
|
}
|
1754
1754
|
interface DrivesResource {
|
1755
|
-
/** Creates a shared drive. */
|
1755
|
+
/** Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). */
|
1756
1756
|
create(request: {
|
1757
1757
|
/** V1 error format. */
|
1758
1758
|
'$.xgafv'?: string;
|
@@ -1810,7 +1810,7 @@ declare namespace gapi.client {
|
|
1810
1810
|
},
|
1811
1811
|
body: Drive,
|
1812
1812
|
): Request<Drive>;
|
1813
|
-
/** Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. */
|
1813
|
+
/** Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). */
|
1814
1814
|
delete(request?: {
|
1815
1815
|
/** V1 error format. */
|
1816
1816
|
'$.xgafv'?: string;
|
@@ -1841,7 +1841,7 @@ declare namespace gapi.client {
|
|
1841
1841
|
/** Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. */
|
1842
1842
|
useDomainAdminAccess?: boolean;
|
1843
1843
|
}): Request<void>;
|
1844
|
-
/** Gets a shared drive's metadata by ID. */
|
1844
|
+
/** Gets a shared drive's metadata by ID. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). */
|
1845
1845
|
get(request?: {
|
1846
1846
|
/** V1 error format. */
|
1847
1847
|
'$.xgafv'?: string;
|
@@ -1870,7 +1870,7 @@ declare namespace gapi.client {
|
|
1870
1870
|
/** Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. */
|
1871
1871
|
useDomainAdminAccess?: boolean;
|
1872
1872
|
}): Request<Drive>;
|
1873
|
-
/** Hides a shared drive from the default view. */
|
1873
|
+
/** Hides a shared drive from the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). */
|
1874
1874
|
hide(request?: {
|
1875
1875
|
/** V1 error format. */
|
1876
1876
|
'$.xgafv'?: string;
|
@@ -1930,7 +1930,7 @@ declare namespace gapi.client {
|
|
1930
1930
|
/** Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned. */
|
1931
1931
|
useDomainAdminAccess?: boolean;
|
1932
1932
|
}): Request<DriveList>;
|
1933
|
-
/** Restores a shared drive to the default view. */
|
1933
|
+
/** Restores a shared drive to the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). */
|
1934
1934
|
unhide(request?: {
|
1935
1935
|
/** V1 error format. */
|
1936
1936
|
'$.xgafv'?: string;
|
@@ -1957,7 +1957,7 @@ declare namespace gapi.client {
|
|
1957
1957
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1958
1958
|
uploadType?: string;
|
1959
1959
|
}): Request<Drive>;
|
1960
|
-
/** Updates the metadata for a shared drive. */
|
1960
|
+
/** Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). */
|
1961
1961
|
update(request: {
|
1962
1962
|
/** V1 error format. */
|
1963
1963
|
'$.xgafv'?: string;
|
@@ -3264,7 +3264,7 @@ declare namespace gapi.client {
|
|
3264
3264
|
): Request<Reply>;
|
3265
3265
|
}
|
3266
3266
|
interface RevisionsResource {
|
3267
|
-
/** Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. */
|
3267
|
+
/** Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see [Manage file revisions](https://developers.google.com/drive/api/guides/manage-revisions). */
|
3268
3268
|
delete(request?: {
|
3269
3269
|
/** V1 error format. */
|
3270
3270
|
'$.xgafv'?: string;
|
@@ -3293,7 +3293,7 @@ declare namespace gapi.client {
|
|
3293
3293
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3294
3294
|
uploadType?: string;
|
3295
3295
|
}): Request<void>;
|
3296
|
-
/** Gets a revision's metadata or content by ID. */
|
3296
|
+
/** Gets a revision's metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). */
|
3297
3297
|
get(request?: {
|
3298
3298
|
/** V1 error format. */
|
3299
3299
|
'$.xgafv'?: string;
|
@@ -3324,7 +3324,7 @@ declare namespace gapi.client {
|
|
3324
3324
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3325
3325
|
uploadType?: string;
|
3326
3326
|
}): Request<Revision>;
|
3327
|
-
/** Lists a file's revisions. */
|
3327
|
+
/** Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). */
|
3328
3328
|
list(request?: {
|
3329
3329
|
/** V1 error format. */
|
3330
3330
|
'$.xgafv'?: string;
|
@@ -3355,7 +3355,7 @@ declare namespace gapi.client {
|
|
3355
3355
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3356
3356
|
uploadType?: string;
|
3357
3357
|
}): Request<RevisionList>;
|
3358
|
-
/** Updates a revision with patch semantics. */
|
3358
|
+
/** Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). */
|
3359
3359
|
update(request: {
|
3360
3360
|
/** V1 error format. */
|
3361
3361
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -173,22 +173,22 @@ Updates a comment with patch semantics. For more information, see [Manage commen
|
|
173
173
|
await gapi.client.drive.comments.update({ commentId: "commentId", fileId: "fileId", });
|
174
174
|
|
175
175
|
/*
|
176
|
-
Creates a shared drive.
|
176
|
+
Creates a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
|
177
177
|
*/
|
178
178
|
await gapi.client.drive.drives.create({ requestId: "requestId", });
|
179
179
|
|
180
180
|
/*
|
181
|
-
Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items.
|
181
|
+
Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
|
182
182
|
*/
|
183
183
|
await gapi.client.drive.drives.delete({ driveId: "driveId", });
|
184
184
|
|
185
185
|
/*
|
186
|
-
Gets a shared drive's metadata by ID.
|
186
|
+
Gets a shared drive's metadata by ID. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
|
187
187
|
*/
|
188
188
|
await gapi.client.drive.drives.get({ driveId: "driveId", });
|
189
189
|
|
190
190
|
/*
|
191
|
-
Hides a shared drive from the default view.
|
191
|
+
Hides a shared drive from the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
|
192
192
|
*/
|
193
193
|
await gapi.client.drive.drives.hide({ driveId: "driveId", });
|
194
194
|
|
@@ -198,12 +198,12 @@ await gapi.client.drive.drives.hide({ driveId: "driveId", });
|
|
198
198
|
await gapi.client.drive.drives.list({ });
|
199
199
|
|
200
200
|
/*
|
201
|
-
Restores a shared drive to the default view.
|
201
|
+
Restores a shared drive to the default view. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
|
202
202
|
*/
|
203
203
|
await gapi.client.drive.drives.unhide({ driveId: "driveId", });
|
204
204
|
|
205
205
|
/*
|
206
|
-
Updates the metadata for a shared drive.
|
206
|
+
Updates the metadata for a shared drive. For more information, see [Manage shared drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives).
|
207
207
|
*/
|
208
208
|
await gapi.client.drive.drives.update({ driveId: "driveId", });
|
209
209
|
|
@@ -328,22 +328,22 @@ Updates a reply with patch semantics.
|
|
328
328
|
await gapi.client.drive.replies.update({ commentId: "commentId", fileId: "fileId", replyId: "replyId", });
|
329
329
|
|
330
330
|
/*
|
331
|
-
Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted.
|
331
|
+
Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. For more information, see [Manage file revisions](https://developers.google.com/drive/api/guides/manage-revisions).
|
332
332
|
*/
|
333
333
|
await gapi.client.drive.revisions.delete({ fileId: "fileId", revisionId: "revisionId", });
|
334
334
|
|
335
335
|
/*
|
336
|
-
Gets a revision's metadata or content by ID.
|
336
|
+
Gets a revision's metadata or content by ID. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).
|
337
337
|
*/
|
338
338
|
await gapi.client.drive.revisions.get({ fileId: "fileId", revisionId: "revisionId", });
|
339
339
|
|
340
340
|
/*
|
341
|
-
Lists a file's revisions.
|
341
|
+
Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).
|
342
342
|
*/
|
343
343
|
await gapi.client.drive.revisions.list({ fileId: "fileId", });
|
344
344
|
|
345
345
|
/*
|
346
|
-
Updates a revision with patch semantics.
|
346
|
+
Updates a revision with patch semantics. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).
|
347
347
|
*/
|
348
348
|
await gapi.client.drive.revisions.update({ fileId: "fileId", revisionId: "revisionId", });
|
349
349
|
|