@maxim_mazurok/gapi.client.cloudshell-v1 0.0.20250113 → 0.0.20250221

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 +7 -7
  2. package/package.json +1 -1
  3. 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://cloudshell.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250113
12
+ // Revision: 20250221
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Shell API v1 */
18
18
  function load(
19
- urlOrObject: 'https://cloudshell.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://cloudshell.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'cloudshell', version: 'v1'): Promise<void>;
@@ -170,7 +170,7 @@ declare namespace gapi.client {
170
170
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
171
171
  uploadType?: string;
172
172
  },
173
- body: CancelOperationRequest
173
+ body: CancelOperationRequest,
174
174
  ): Request<{}>;
175
175
  /** 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`. */
176
176
  delete(request?: {
@@ -317,7 +317,7 @@ declare namespace gapi.client {
317
317
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
318
318
  uploadType?: string;
319
319
  },
320
- body: AddPublicKeyRequest
320
+ body: AddPublicKeyRequest,
321
321
  ): Request<Operation>;
322
322
  /** Sends OAuth credentials to a running environment on behalf of a user. When this completes, the environment will be authorized to run various Google Cloud command line tools without requiring the user to manually authenticate. */
323
323
  authorize(request: {
@@ -375,7 +375,7 @@ declare namespace gapi.client {
375
375
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
376
376
  uploadType?: string;
377
377
  },
378
- body: AuthorizeEnvironmentRequest
378
+ body: AuthorizeEnvironmentRequest,
379
379
  ): Request<Operation>;
380
380
  /** Gets an environment. Returns NOT_FOUND if the environment does not exist. */
381
381
  get(request?: {
@@ -460,7 +460,7 @@ declare namespace gapi.client {
460
460
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
461
461
  uploadType?: string;
462
462
  },
463
- body: RemovePublicKeyRequest
463
+ body: RemovePublicKeyRequest,
464
464
  ): Request<Operation>;
465
465
  /** Starts an existing environment, allowing clients to connect to it. The returned operation will contain an instance of StartEnvironmentMetadata in its metadata field. Users can wait for the environment to start by polling this operation via GetOperation. Once the environment has finished starting and is ready to accept connections, the operation will contain a StartEnvironmentResponse in its response field. */
466
466
  start(request: {
@@ -518,7 +518,7 @@ declare namespace gapi.client {
518
518
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
519
519
  uploadType?: string;
520
520
  },
521
- body: StartEnvironmentRequest
521
+ body: StartEnvironmentRequest,
522
522
  ): Request<Operation>;
523
523
  }
524
524
  interface UsersResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudshell-v1",
3
- "version": "0.0.20250113",
3
+ "version": "0.0.20250221",
4
4
  "description": "TypeScript typings for Cloud Shell API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.cloudshell
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68