@maxim_mazurok/gapi.client.drive-v3 0.3.20260901 → 0.3.20260923
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 +6 -6
- package/package.json +1 -1
- package/readme.md +3 -3
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: 20260923
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2607,7 +2607,7 @@ declare namespace gapi.client {
|
|
|
2607
2607
|
alt?: 'json' | 'media' | 'proto';
|
|
2608
2608
|
/** JSONP */
|
|
2609
2609
|
callback?: string;
|
|
2610
|
-
/** Whether to copy the comments associated with the file. */
|
|
2610
|
+
/** Whether to copy the open (unresolved) comments associated with the file. */
|
|
2611
2611
|
copyComments?: boolean;
|
|
2612
2612
|
/** Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead. */
|
|
2613
2613
|
enforceSingleParent?: boolean;
|
|
@@ -2654,7 +2654,7 @@ declare namespace gapi.client {
|
|
|
2654
2654
|
alt?: 'json' | 'media' | 'proto';
|
|
2655
2655
|
/** JSONP */
|
|
2656
2656
|
callback?: string;
|
|
2657
|
-
/** Whether to copy the comments associated with the file. */
|
|
2657
|
+
/** Whether to copy the open (unresolved) comments associated with the file. */
|
|
2658
2658
|
copyComments?: boolean;
|
|
2659
2659
|
/** Deprecated: Copying files into multiple folders is no longer supported. Use shortcuts instead. */
|
|
2660
2660
|
enforceSingleParent?: boolean;
|
|
@@ -3351,7 +3351,7 @@ declare namespace gapi.client {
|
|
|
3351
3351
|
}): Request<Operation>;
|
|
3352
3352
|
}
|
|
3353
3353
|
interface PermissionsResource {
|
|
3354
|
-
/** Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent
|
|
3354
|
+
/** Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied. */
|
|
3355
3355
|
create(request: {
|
|
3356
3356
|
/** V1 error format. */
|
|
3357
3357
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3445,7 +3445,7 @@ declare namespace gapi.client {
|
|
|
3445
3445
|
},
|
|
3446
3446
|
body: Permission,
|
|
3447
3447
|
): Request<Permission>;
|
|
3448
|
-
/** Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent
|
|
3448
|
+
/** Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied. */
|
|
3449
3449
|
delete(request?: {
|
|
3450
3450
|
/** V1 error format. */
|
|
3451
3451
|
'$.xgafv'?: '1' | '2';
|
|
@@ -3556,7 +3556,7 @@ declare namespace gapi.client {
|
|
|
3556
3556
|
/** Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). */
|
|
3557
3557
|
useDomainAdminAccess?: boolean;
|
|
3558
3558
|
}): Request<PermissionList>;
|
|
3559
|
-
/** Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent
|
|
3559
|
+
/** Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied. */
|
|
3560
3560
|
update(request: {
|
|
3561
3561
|
/** V1 error format. */
|
|
3562
3562
|
'$.xgafv'?: '1' | '2';
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -335,12 +335,12 @@ Gets the latest state of a long-running operation. Clients can use this method t
|
|
|
335
335
|
await gapi.client.drive.operations.get({ name: "name", });
|
|
336
336
|
|
|
337
337
|
/*
|
|
338
|
-
Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent
|
|
338
|
+
Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.
|
|
339
339
|
*/
|
|
340
340
|
await gapi.client.drive.permissions.create({ fileId: "fileId", });
|
|
341
341
|
|
|
342
342
|
/*
|
|
343
|
-
Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent
|
|
343
|
+
Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.
|
|
344
344
|
*/
|
|
345
345
|
await gapi.client.drive.permissions.delete({ fileId: "fileId", permissionId: "permissionId", });
|
|
346
346
|
|
|
@@ -355,7 +355,7 @@ Lists a file's or shared drive's permissions. For more information, see [Share f
|
|
|
355
355
|
await gapi.client.drive.permissions.list({ fileId: "fileId", });
|
|
356
356
|
|
|
357
357
|
/*
|
|
358
|
-
Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent
|
|
358
|
+
Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permission modifications (such as update or delete) on the same file, folder, or shared drive aren't supported across any users or clients; only the last update is applied.
|
|
359
359
|
*/
|
|
360
360
|
await gapi.client.drive.permissions.update({ fileId: "fileId", permissionId: "permissionId", });
|
|
361
361
|
|