@maxim_mazurok/gapi.client.drive-v3 0.0.20250210 → 0.0.20250216
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 +18 -4
- 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: 20250216
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
@@ -401,10 +401,14 @@ declare namespace gapi.client {
|
|
401
401
|
canDelete?: boolean;
|
402
402
|
/** Output only. Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives. */
|
403
403
|
canDeleteChildren?: boolean;
|
404
|
+
/** Whether a user can disable inherited permissions. */
|
405
|
+
canDisableInheritedPermissions?: boolean;
|
404
406
|
/** Output only. Whether the current user can download this file. */
|
405
407
|
canDownload?: boolean;
|
406
408
|
/** Output only. Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see `canChangeCopyRequiresWriterPermission` or `canModifyContent`. */
|
407
409
|
canEdit?: boolean;
|
410
|
+
/** Whether a user can re-enable inherited permissions. */
|
411
|
+
canEnableInheritedPermissions?: boolean;
|
408
412
|
/** Output only. Whether the current user can list the children of this folder. This is always false when the item is not a folder. */
|
409
413
|
canListChildren?: boolean;
|
410
414
|
/** Output only. Whether the current user can modify the content of this file. */
|
@@ -556,6 +560,8 @@ declare namespace gapi.client {
|
|
556
560
|
/** Output only. The width of the image in pixels. */
|
557
561
|
width?: number;
|
558
562
|
};
|
563
|
+
/** Whether this file has inherited permissions disabled. Inherited permissions are enabled by default. */
|
564
|
+
inheritedPermissionsDisabled?: boolean;
|
559
565
|
/** Output only. Whether the file was created or opened by the requesting app. */
|
560
566
|
isAppAuthorized?: boolean;
|
561
567
|
/** Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#file"`. */
|
@@ -801,15 +807,17 @@ declare namespace gapi.client {
|
|
801
807
|
expirationTime?: string;
|
802
808
|
/** Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as `permissionId`. IDs should be treated as opaque values. */
|
803
809
|
id?: string;
|
810
|
+
/** When true, only organizers, owners, and users with permissions added directly on the item can access it. */
|
811
|
+
inheritedPermissionsDisabled?: boolean;
|
804
812
|
/** Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#permission"`. */
|
805
813
|
kind?: string;
|
806
814
|
/** Whether the account associated with this permission is a pending owner. Only populated for `user` type permissions for files that are not in a shared drive. */
|
807
815
|
pendingOwner?: boolean;
|
808
|
-
/** Output only. Details of whether the permissions on this
|
816
|
+
/** Output only. Details of whether the permissions on this item are inherited or directly on this item. */
|
809
817
|
permissionDetails?: Array<{
|
810
818
|
/** Output only. Whether this permission is inherited. This field is always populated. This is an output-only field. */
|
811
819
|
inherited?: boolean;
|
812
|
-
/** Output only. The ID of the item from which this permission is inherited. This is
|
820
|
+
/** Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives. */
|
813
821
|
inheritedFrom?: string;
|
814
822
|
/** Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member` */
|
815
823
|
permissionType?: string;
|
@@ -833,7 +841,7 @@ declare namespace gapi.client {
|
|
833
841
|
}>;
|
834
842
|
/** The type of the grantee. Valid values are: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. When `type` is `domain`, you must provide a `domain`. There isn't extra information required for an `anyone` type. */
|
835
843
|
type?: string;
|
836
|
-
/** Indicates the view for this permission. Only populated for permissions that belong to a view.
|
844
|
+
/** Indicates the view for this permission. Only populated for permissions that belong to a view. published and metadata are the only supported values. - published: The permission's role is published_reader. - metadata: The item is only visible to the metadata view because the item has limited access and the scope has at least read access to the parent. Note: The metadata view is currently only supported on folders. */
|
837
845
|
view?: string;
|
838
846
|
}
|
839
847
|
interface PermissionList {
|
@@ -2903,6 +2911,8 @@ declare namespace gapi.client {
|
|
2903
2911
|
alt?: string;
|
2904
2912
|
/** JSONP */
|
2905
2913
|
callback?: string;
|
2914
|
+
/** Whether the request should enforce expansive access rules. */
|
2915
|
+
enforceExpansiveAccess?: boolean;
|
2906
2916
|
/** Selector specifying which fields to include in a partial response. */
|
2907
2917
|
fields?: string;
|
2908
2918
|
/** The ID of the file or shared drive. */
|
@@ -3012,6 +3022,8 @@ declare namespace gapi.client {
|
|
3012
3022
|
alt?: string;
|
3013
3023
|
/** JSONP */
|
3014
3024
|
callback?: string;
|
3025
|
+
/** Whether the request should enforce expansive access rules. */
|
3026
|
+
enforceExpansiveAccess?: boolean;
|
3015
3027
|
/** Selector specifying which fields to include in a partial response. */
|
3016
3028
|
fields?: string;
|
3017
3029
|
/** The ID of the file or shared drive. */
|
@@ -3053,6 +3065,8 @@ declare namespace gapi.client {
|
|
3053
3065
|
alt?: string;
|
3054
3066
|
/** JSONP */
|
3055
3067
|
callback?: string;
|
3068
|
+
/** Whether the request should enforce expansive access rules. */
|
3069
|
+
enforceExpansiveAccess?: boolean;
|
3056
3070
|
/** Selector specifying which fields to include in a partial response. */
|
3057
3071
|
fields?: string;
|
3058
3072
|
/** The ID of the file or shared drive. */
|