@maxim_mazurok/gapi.client.drive-v3 0.0.20250114 → 0.0.20250124
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 +22 -22
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
@@ -9,14 +9,14 @@
|
|
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: 20250124
|
13
13
|
|
14
14
|
/// <reference types="gapi.client" />
|
15
15
|
|
16
16
|
declare namespace gapi.client {
|
17
17
|
/** Load Google Drive API v3 */
|
18
18
|
function load(
|
19
|
-
urlOrObject: 'https://www.googleapis.com/discovery/v1/apis/drive/v3/rest'
|
19
|
+
urlOrObject: 'https://www.googleapis.com/discovery/v1/apis/drive/v3/rest',
|
20
20
|
): Promise<void>;
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
22
22
|
function load(name: 'drive', version: 'v3'): Promise<void>;
|
@@ -905,7 +905,7 @@ declare namespace gapi.client {
|
|
905
905
|
publishAuto?: boolean;
|
906
906
|
/** Whether this revision is published. This is only applicable to Docs Editors files. */
|
907
907
|
published?: boolean;
|
908
|
-
/** Output only. A link to the published revision. This is only populated for
|
908
|
+
/** Output only. A link to the published revision. This is only populated for Docs Editors files. */
|
909
909
|
publishedLink?: string;
|
910
910
|
/** Whether this revision is published outside the domain. This is only applicable to Docs Editors files. */
|
911
911
|
publishedOutsideDomain?: boolean;
|
@@ -1191,7 +1191,7 @@ declare namespace gapi.client {
|
|
1191
1191
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1192
1192
|
uploadType?: string;
|
1193
1193
|
},
|
1194
|
-
body: ResolveAccessProposalRequest
|
1194
|
+
body: ResolveAccessProposalRequest,
|
1195
1195
|
): Request<void>;
|
1196
1196
|
}
|
1197
1197
|
interface AppsResource {
|
@@ -1449,7 +1449,7 @@ declare namespace gapi.client {
|
|
1449
1449
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1450
1450
|
uploadType?: string;
|
1451
1451
|
},
|
1452
|
-
body: Channel
|
1452
|
+
body: Channel,
|
1453
1453
|
): Request<Channel>;
|
1454
1454
|
}
|
1455
1455
|
interface ChannelsResource {
|
@@ -1505,7 +1505,7 @@ declare namespace gapi.client {
|
|
1505
1505
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1506
1506
|
uploadType?: string;
|
1507
1507
|
},
|
1508
|
-
body: Channel
|
1508
|
+
body: Channel,
|
1509
1509
|
): Request<void>;
|
1510
1510
|
}
|
1511
1511
|
interface CommentsResource {
|
@@ -1565,7 +1565,7 @@ declare namespace gapi.client {
|
|
1565
1565
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1566
1566
|
uploadType?: string;
|
1567
1567
|
},
|
1568
|
-
body: Comment
|
1568
|
+
body: Comment,
|
1569
1569
|
): Request<Comment>;
|
1570
1570
|
/** Deletes a comment. For more information, see [Manage comments and replies](https://developers.google.com/drive/api/guides/manage-comments). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/drive/api/guides/fields-parameter). */
|
1571
1571
|
delete(request?: {
|
@@ -1722,7 +1722,7 @@ declare namespace gapi.client {
|
|
1722
1722
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1723
1723
|
uploadType?: string;
|
1724
1724
|
},
|
1725
|
-
body: Comment
|
1725
|
+
body: Comment,
|
1726
1726
|
): Request<Comment>;
|
1727
1727
|
}
|
1728
1728
|
interface DrivesResource {
|
@@ -1782,7 +1782,7 @@ declare namespace gapi.client {
|
|
1782
1782
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
1783
1783
|
uploadType?: string;
|
1784
1784
|
},
|
1785
|
-
body: Drive
|
1785
|
+
body: Drive,
|
1786
1786
|
): Request<Drive>;
|
1787
1787
|
/** Permanently deletes a shared drive for which the user is an `organizer`. The shared drive cannot contain any untrashed items. */
|
1788
1788
|
delete(request?: {
|
@@ -1991,7 +1991,7 @@ declare namespace gapi.client {
|
|
1991
1991
|
/** Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. */
|
1992
1992
|
useDomainAdminAccess?: boolean;
|
1993
1993
|
},
|
1994
|
-
body: Drive
|
1994
|
+
body: Drive,
|
1995
1995
|
): Request<Drive>;
|
1996
1996
|
}
|
1997
1997
|
interface FilesResource {
|
@@ -2083,7 +2083,7 @@ declare namespace gapi.client {
|
|
2083
2083
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
2084
2084
|
uploadType?: string;
|
2085
2085
|
},
|
2086
|
-
body: File
|
2086
|
+
body: File,
|
2087
2087
|
): Request<File>;
|
2088
2088
|
/** Creates a new file. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see [Upload file data](/drive/api/guides/manage-uploads). Apps creating shortcuts with `files.create` must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `name` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `"name": "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `title` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the title. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type. */
|
2089
2089
|
create(request: {
|
@@ -2173,7 +2173,7 @@ declare namespace gapi.client {
|
|
2173
2173
|
/** Whether to use the uploaded content as indexable text. */
|
2174
2174
|
useContentAsIndexableText?: boolean;
|
2175
2175
|
},
|
2176
|
-
body: File
|
2176
|
+
body: File,
|
2177
2177
|
): Request<File>;
|
2178
2178
|
/** 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. */
|
2179
2179
|
delete(request?: {
|
@@ -2507,7 +2507,7 @@ declare namespace gapi.client {
|
|
2507
2507
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
2508
2508
|
uploadType?: string;
|
2509
2509
|
},
|
2510
|
-
body: ModifyLabelsRequest
|
2510
|
+
body: ModifyLabelsRequest,
|
2511
2511
|
): Request<ModifyLabelsResponse>;
|
2512
2512
|
/** Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see [Upload file data](/drive/api/guides/manage-uploads). */
|
2513
2513
|
update(request: {
|
@@ -2605,7 +2605,7 @@ declare namespace gapi.client {
|
|
2605
2605
|
/** Whether to use the uploaded content as indexable text. */
|
2606
2606
|
useContentAsIndexableText?: boolean;
|
2607
2607
|
},
|
2608
|
-
body: File
|
2608
|
+
body: File,
|
2609
2609
|
): Request<File>;
|
2610
2610
|
/** Subscribes to changes to a file. */
|
2611
2611
|
watch(request: {
|
@@ -2683,7 +2683,7 @@ declare namespace gapi.client {
|
|
2683
2683
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
2684
2684
|
uploadType?: string;
|
2685
2685
|
},
|
2686
|
-
body: Channel
|
2686
|
+
body: Channel,
|
2687
2687
|
): Request<Channel>;
|
2688
2688
|
}
|
2689
2689
|
interface OperationResource {
|
@@ -2893,7 +2893,7 @@ declare namespace gapi.client {
|
|
2893
2893
|
/** Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. */
|
2894
2894
|
useDomainAdminAccess?: boolean;
|
2895
2895
|
},
|
2896
|
-
body: Permission
|
2896
|
+
body: Permission,
|
2897
2897
|
): Request<Permission>;
|
2898
2898
|
/** Deletes a permission. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. */
|
2899
2899
|
delete(request?: {
|
@@ -3084,7 +3084,7 @@ declare namespace gapi.client {
|
|
3084
3084
|
/** Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. */
|
3085
3085
|
useDomainAdminAccess?: boolean;
|
3086
3086
|
},
|
3087
|
-
body: Permission
|
3087
|
+
body: Permission,
|
3088
3088
|
): Request<Permission>;
|
3089
3089
|
}
|
3090
3090
|
interface RepliesResource {
|
@@ -3148,7 +3148,7 @@ declare namespace gapi.client {
|
|
3148
3148
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3149
3149
|
uploadType?: string;
|
3150
3150
|
},
|
3151
|
-
body: Reply
|
3151
|
+
body: Reply,
|
3152
3152
|
): Request<Reply>;
|
3153
3153
|
/** Deletes a reply. */
|
3154
3154
|
delete(request?: {
|
@@ -3313,7 +3313,7 @@ declare namespace gapi.client {
|
|
3313
3313
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3314
3314
|
uploadType?: string;
|
3315
3315
|
},
|
3316
|
-
body: Reply
|
3316
|
+
body: Reply,
|
3317
3317
|
): Request<Reply>;
|
3318
3318
|
}
|
3319
3319
|
interface RevisionsResource {
|
@@ -3468,7 +3468,7 @@ declare namespace gapi.client {
|
|
3468
3468
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3469
3469
|
uploadType?: string;
|
3470
3470
|
},
|
3471
|
-
body: Revision
|
3471
|
+
body: Revision,
|
3472
3472
|
): Request<Revision>;
|
3473
3473
|
}
|
3474
3474
|
interface TeamdrivesResource {
|
@@ -3528,7 +3528,7 @@ declare namespace gapi.client {
|
|
3528
3528
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
3529
3529
|
uploadType?: string;
|
3530
3530
|
},
|
3531
|
-
body: TeamDrive
|
3531
|
+
body: TeamDrive,
|
3532
3532
|
): Request<TeamDrive>;
|
3533
3533
|
/** Deprecated: Use `drives.delete` instead. */
|
3534
3534
|
delete(request?: {
|
@@ -3679,7 +3679,7 @@ declare namespace gapi.client {
|
|
3679
3679
|
/** Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs. */
|
3680
3680
|
useDomainAdminAccess?: boolean;
|
3681
3681
|
},
|
3682
|
-
body: TeamDrive
|
3682
|
+
body: TeamDrive,
|
3683
3683
|
): Request<TeamDrive>;
|
3684
3684
|
}
|
3685
3685
|
|
package/package.json
CHANGED
package/readme.md
CHANGED