@maxim_mazurok/gapi.client.drive-v3 0.0.20230815 → 0.0.20230822
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 +5 -5
- package/package.json +1 -1
- package/readme.md +2 -2
- package/tests.ts +4 -4
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: 20230822
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -2312,7 +2312,7 @@ declare namespace gapi.client {
|
|
2312
2312
|
string;
|
2313
2313
|
},
|
2314
2314
|
body: Drive): Request<Drive>;
|
2315
|
-
/** Permanently deletes a shared drive for which the user is an organizer
|
2315
|
+
/** Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. */
|
2316
2316
|
delete(request?: {
|
2317
2317
|
/** V1 error format. */
|
2318
2318
|
"$.xgafv"?:
|
@@ -2920,8 +2920,8 @@ declare namespace gapi.client {
|
|
2920
2920
|
},
|
2921
2921
|
body: File): Request<File>;
|
2922
2922
|
/**
|
2923
|
-
* Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the
|
2924
|
-
* folder, all descendants owned by the user are also deleted.
|
2923
|
+
* Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If the
|
2924
|
+
* target is a folder, all descendants owned by the user are also deleted.
|
2925
2925
|
*/
|
2926
2926
|
delete(request?: {
|
2927
2927
|
/** V1 error format. */
|
@@ -3269,7 +3269,7 @@ declare namespace gapi.client {
|
|
3269
3269
|
/** Selector specifying which fields to include in a partial response. */
|
3270
3270
|
fields?:
|
3271
3271
|
string;
|
3272
|
-
/** The ID for the file
|
3272
|
+
/** The ID for the file. */
|
3273
3273
|
fileId:
|
3274
3274
|
string;
|
3275
3275
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -143,7 +143,7 @@ Creates a shared drive.
|
|
143
143
|
await gapi.client.drive.drives.create({ requestId: "requestId", });
|
144
144
|
|
145
145
|
/*
|
146
|
-
Permanently deletes a shared drive for which the user is an organizer
|
146
|
+
Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items.
|
147
147
|
*/
|
148
148
|
await gapi.client.drive.drives.delete({ driveId: "driveId", });
|
149
149
|
|
@@ -183,7 +183,7 @@ await gapi.client.drive.files.copy({ fileId: "fileId", });
|
|
183
183
|
await gapi.client.drive.files.create({ });
|
184
184
|
|
185
185
|
/*
|
186
|
-
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.
|
186
|
+
Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If the target is a folder, all descendants owned by the user are also deleted.
|
187
187
|
*/
|
188
188
|
await gapi.client.drive.files.delete({ fileId: "fileId", });
|
189
189
|
|
package/tests.ts
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
5
5
|
|
6
|
-
// Revision:
|
6
|
+
// Revision: 20230822
|
7
7
|
|
8
8
|
gapi.load('client', async () => {
|
9
9
|
/** now we can use gapi.client */
|
@@ -277,7 +277,7 @@ gapi.load('client', async () => {
|
|
277
277
|
},
|
278
278
|
themeId: "Test string",
|
279
279
|
});
|
280
|
-
/** Permanently deletes a shared drive for which the user is an organizer
|
280
|
+
/** Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. */
|
281
281
|
await gapi.client.drive.drives.delete({
|
282
282
|
allowItemDeletion: true,
|
283
283
|
driveId: "Test string",
|
@@ -939,8 +939,8 @@ gapi.load('client', async () => {
|
|
939
939
|
writersCanShare: true,
|
940
940
|
});
|
941
941
|
/**
|
942
|
-
* Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target
|
943
|
-
* folder, all descendants owned by the user are also deleted.
|
942
|
+
* Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If the target
|
943
|
+
* is a folder, all descendants owned by the user are also deleted.
|
944
944
|
*/
|
945
945
|
await gapi.client.drive.files.delete({
|
946
946
|
enforceSingleParent: true,
|