@maxim_mazurok/gapi.client.drive-v3 0.0.20250623 → 0.0.20250710

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.
Files changed (2) hide show
  1. package/index.d.ts +15 -1
  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: 20250623
12
+ // Revision: 20250710
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -282,6 +282,12 @@ declare namespace gapi.client {
282
282
  /** Whether download and copy is restricted for writers. If true, download is also restricted for readers. */
283
283
  restrictedForWriters?: boolean;
284
284
  }
285
+ interface DownloadRestrictionsMetadata {
286
+ /** The effective download restriction applied to this file. This considers all restriction settings and DLP rules. */
287
+ effectiveDownloadRestrictionWithContext?: DownloadRestriction;
288
+ /** The download restriction of the file applied directly by the owner or organizer. This does not take into account shared drive settings or DLP rules. */
289
+ itemDownloadRestriction?: DownloadRestriction;
290
+ }
285
291
  interface Drive {
286
292
  /** 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. */
287
293
  backgroundImageFile?: {
@@ -304,6 +310,8 @@ declare namespace gapi.client {
304
310
  canChangeCopyRequiresWriterPermissionRestriction?: boolean;
305
311
  /** Output only. Whether the current user can change the `domainUsersOnly` restriction of this shared drive. */
306
312
  canChangeDomainUsersOnlyRestriction?: boolean;
313
+ /** Output only. Whether the current user can change organizer-applied download restrictions of this shared drive. */
314
+ canChangeDownloadRestriction?: boolean;
307
315
  /** Output only. Whether the current user can change the background of this shared drive. */
308
316
  canChangeDriveBackground?: boolean;
309
317
  /** Output only. Whether the current user can change the `driveMembersOnly` restriction of this shared drive. */
@@ -397,6 +405,8 @@ declare namespace gapi.client {
397
405
  canAddMyDriveParent?: boolean;
398
406
  /** Output only. Whether the current user can change the `copyRequiresWriterPermission` restriction of this file. */
399
407
  canChangeCopyRequiresWriterPermission?: boolean;
408
+ /** Output only. Whether the current user can change the owner-applied download restrictions of the file. */
409
+ canChangeItemDownloadRestriction?: boolean;
400
410
  /** Output only. Whether the current user can change the securityUpdateEnabled field on link share metadata. */
401
411
  canChangeSecurityUpdateEnabled?: boolean;
402
412
  /** Deprecated: Output only. */
@@ -494,6 +504,8 @@ declare namespace gapi.client {
494
504
  createdTime?: string;
495
505
  /** A short description of the file. */
496
506
  description?: string;
507
+ /** Download restrictions applied on the file. */
508
+ downloadRestrictions?: DownloadRestrictionsMetadata;
497
509
  /** Output only. ID of the shared drive the file resides in. Only populated for items in shared drives. */
498
510
  driveId?: string;
499
511
  /** Output only. Whether the file has been explicitly trashed, as opposed to recursively trashed from a parent folder. */
@@ -972,6 +984,8 @@ declare namespace gapi.client {
972
984
  canChangeCopyRequiresWriterPermissionRestriction?: boolean;
973
985
  /** Whether the current user can change the `domainUsersOnly` restriction of this Team Drive. */
974
986
  canChangeDomainUsersOnlyRestriction?: boolean;
987
+ /** Whether the current user can change organizer-applied download restrictions of this shared drive. */
988
+ canChangeDownloadRestriction?: boolean;
975
989
  /** Whether the current user can change the `sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive. */
976
990
  canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean;
977
991
  /** Whether the current user can change the background of this Team Drive. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.drive-v3",
3
- "version": "0.0.20250623",
3
+ "version": "0.0.20250710",
4
4
  "description": "TypeScript typings for Google Drive API v3",
5
5
  "repository": {
6
6
  "type": "git",