@maxim_mazurok/gapi.client.drive-v3 0.0.20250717 → 0.0.20250727

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 (3) hide show
  1. package/index.d.ts +1 -94
  2. package/package.json +1 -1
  3. package/readme.md +0 -15
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: 20250717
12
+ // Revision: 20250727
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -782,12 +782,6 @@ declare namespace gapi.client {
782
782
  /** The continuation token for the next page of results. This will be absent if the end of the results list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. */
783
783
  nextPageToken?: string;
784
784
  }
785
- interface ListOperationsResponse {
786
- /** The standard List next-page token. */
787
- nextPageToken?: string;
788
- /** A list of operations that matches the specified filter in the request. */
789
- operations?: Operation[];
790
- }
791
785
  interface ModifyLabelsRequest {
792
786
  /** This is always drive#modifyLabelsRequest. */
793
787
  kind?: string;
@@ -2719,60 +2713,6 @@ declare namespace gapi.client {
2719
2713
  ): Request<Channel>;
2720
2714
  }
2721
2715
  interface OperationsResource {
2722
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
2723
- cancel(request?: {
2724
- /** V1 error format. */
2725
- '$.xgafv'?: string;
2726
- /** OAuth access token. */
2727
- access_token?: string;
2728
- /** Data format for response. */
2729
- alt?: string;
2730
- /** JSONP */
2731
- callback?: string;
2732
- /** Selector specifying which fields to include in a partial response. */
2733
- fields?: string;
2734
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2735
- key?: string;
2736
- /** The name of the operation resource to be cancelled. */
2737
- name: string;
2738
- /** OAuth 2.0 token for the current user. */
2739
- oauth_token?: string;
2740
- /** Returns response with indentations and line breaks. */
2741
- prettyPrint?: boolean;
2742
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2743
- quotaUser?: string;
2744
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2745
- upload_protocol?: string;
2746
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2747
- uploadType?: string;
2748
- }): Request<void>;
2749
- /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
2750
- delete(request?: {
2751
- /** V1 error format. */
2752
- '$.xgafv'?: string;
2753
- /** OAuth access token. */
2754
- access_token?: string;
2755
- /** Data format for response. */
2756
- alt?: string;
2757
- /** JSONP */
2758
- callback?: string;
2759
- /** Selector specifying which fields to include in a partial response. */
2760
- fields?: string;
2761
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2762
- key?: string;
2763
- /** The name of the operation resource to be deleted. */
2764
- name: string;
2765
- /** OAuth 2.0 token for the current user. */
2766
- oauth_token?: string;
2767
- /** Returns response with indentations and line breaks. */
2768
- prettyPrint?: boolean;
2769
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2770
- quotaUser?: string;
2771
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2772
- upload_protocol?: string;
2773
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2774
- uploadType?: string;
2775
- }): Request<void>;
2776
2716
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
2777
2717
  get(request?: {
2778
2718
  /** V1 error format. */
@@ -2800,39 +2740,6 @@ declare namespace gapi.client {
2800
2740
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2801
2741
  uploadType?: string;
2802
2742
  }): Request<Operation>;
2803
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2804
- list(request?: {
2805
- /** V1 error format. */
2806
- '$.xgafv'?: string;
2807
- /** OAuth access token. */
2808
- access_token?: string;
2809
- /** Data format for response. */
2810
- alt?: string;
2811
- /** JSONP */
2812
- callback?: string;
2813
- /** Selector specifying which fields to include in a partial response. */
2814
- fields?: string;
2815
- /** The standard list filter. */
2816
- filter?: string;
2817
- /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2818
- key?: string;
2819
- /** The name of the operation's parent resource. */
2820
- name?: string;
2821
- /** OAuth 2.0 token for the current user. */
2822
- oauth_token?: string;
2823
- /** The standard list page size. */
2824
- pageSize?: number;
2825
- /** The standard list page token. */
2826
- pageToken?: string;
2827
- /** Returns response with indentations and line breaks. */
2828
- prettyPrint?: boolean;
2829
- /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2830
- quotaUser?: string;
2831
- /** Upload protocol for media (e.g. "raw", "multipart"). */
2832
- upload_protocol?: string;
2833
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2834
- uploadType?: string;
2835
- }): Request<ListOperationsResponse>;
2836
2743
  }
2837
2744
  interface PermissionsResource {
2838
2745
  /** Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.drive-v3",
3
- "version": "0.0.20250717",
3
+ "version": "0.0.20250727",
4
4
  "description": "TypeScript typings for Google Drive API v3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -272,26 +272,11 @@ Subscribes to changes to a file.
272
272
  */
273
273
  await gapi.client.drive.files.watch({ fileId: "fileId", });
274
274
 
275
- /*
276
- Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
277
- */
278
- await gapi.client.drive.operations.cancel({ name: "name", });
279
-
280
- /*
281
- Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
282
- */
283
- await gapi.client.drive.operations.delete({ name: "name", });
284
-
285
275
  /*
286
276
  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
287
277
  */
288
278
  await gapi.client.drive.operations.get({ name: "name", });
289
279
 
290
- /*
291
- Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
292
- */
293
- await gapi.client.drive.operations.list({ });
294
-
295
280
  /*
296
281
  Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
297
282
  */