@maxim_mazurok/gapi.client.drive-v3 0.0.20250216 → 0.0.20250220
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 +12 -2
- package/package.json +1 -1
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: 20250220
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -276,6 +276,12 @@ declare namespace gapi.client {
|
|
276
276
|
/** Output only. The type of the content restriction. Currently the only possible value is `globalContentRestriction`. */
|
277
277
|
type?: string;
|
278
278
|
}
|
279
|
+
interface DownloadRestriction {
|
280
|
+
/** Whether download and copy is restricted for readers. */
|
281
|
+
restrictedForReaders?: boolean;
|
282
|
+
/** Whether download and copy is restricted for writers. If true, download is also restricted for readers. */
|
283
|
+
restrictedForWriters?: boolean;
|
284
|
+
}
|
279
285
|
interface Drive {
|
280
286
|
/** An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on `drive.drives.update` requests that don't set `themeId`. When specified, all fields of the `backgroundImageFile` must be set. */
|
281
287
|
backgroundImageFile?: {
|
@@ -355,6 +361,8 @@ declare namespace gapi.client {
|
|
355
361
|
copyRequiresWriterPermission?: boolean;
|
356
362
|
/** Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive. */
|
357
363
|
domainUsersOnly?: boolean;
|
364
|
+
/** Download restrictions applied by shared drive managers. */
|
365
|
+
downloadRestriction?: DownloadRestriction;
|
358
366
|
/** Whether access to items inside this shared drive is restricted to its members. */
|
359
367
|
driveMembersOnly?: boolean;
|
360
368
|
/** If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders. */
|
@@ -821,7 +829,7 @@ declare namespace gapi.client {
|
|
821
829
|
inheritedFrom?: string;
|
822
830
|
/** Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member` */
|
823
831
|
permissionType?: string;
|
824
|
-
/** Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` */
|
832
|
+
/** Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` */
|
825
833
|
role?: string;
|
826
834
|
}>;
|
827
835
|
/** Output only. A link to the user's profile photo, if available. */
|
@@ -1021,6 +1029,8 @@ declare namespace gapi.client {
|
|
1021
1029
|
copyRequiresWriterPermission?: boolean;
|
1022
1030
|
/** Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive. */
|
1023
1031
|
domainUsersOnly?: boolean;
|
1032
|
+
/** Download restrictions applied by shared drive managers. */
|
1033
|
+
downloadRestriction?: DownloadRestriction;
|
1024
1034
|
/** If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders. */
|
1025
1035
|
sharingFoldersRequiresOrganizerPermission?: boolean;
|
1026
1036
|
/** Whether access to items inside this Team Drive is restricted to members of this Team Drive. */
|