@maxim_mazurok/gapi.client.cloudshell-v1 0.1.20251027 → 0.1.20251105

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 +36 -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://cloudshell.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20251027
12
+ // Revision: 20251105
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -67,6 +67,10 @@ declare namespace gapi.client {
67
67
  /** Output only. Host to which clients can connect to initiate HTTPS or WSS connections with the environment. */
68
68
  webHost?: string;
69
69
  }
70
+ interface GenerateAccessTokenResponse {
71
+ /** The access token. */
72
+ accessToken?: string;
73
+ }
70
74
  interface ListOperationsResponse {
71
75
  /** The standard List next-page token. */
72
76
  nextPageToken?: string;
@@ -381,6 +385,37 @@ declare namespace gapi.client {
381
385
  },
382
386
  body: AuthorizeEnvironmentRequest,
383
387
  ): Request<Operation>;
388
+ /** Generates an access token for the user's environment. */
389
+ generateAccessToken(request?: {
390
+ /** V1 error format. */
391
+ '$.xgafv'?: string;
392
+ /** OAuth access token. */
393
+ access_token?: string;
394
+ /** Data format for response. */
395
+ alt?: string;
396
+ /** JSONP */
397
+ callback?: string;
398
+ /** Required. The environment to generate the access token for. */
399
+ environment: string;
400
+ /** Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future. */
401
+ expireTime?: string;
402
+ /** Selector specifying which fields to include in a partial response. */
403
+ fields?: string;
404
+ /** 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. */
405
+ key?: string;
406
+ /** OAuth 2.0 token for the current user. */
407
+ oauth_token?: string;
408
+ /** Returns response with indentations and line breaks. */
409
+ prettyPrint?: boolean;
410
+ /** 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. */
411
+ quotaUser?: string;
412
+ /** Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour. */
413
+ ttl?: string;
414
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
415
+ upload_protocol?: string;
416
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
417
+ uploadType?: string;
418
+ }): Request<GenerateAccessTokenResponse>;
384
419
  /** Gets an environment. Returns NOT_FOUND if the environment does not exist. */
385
420
  get(request?: {
386
421
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudshell-v1",
3
- "version": "0.1.20251027",
3
+ "version": "0.1.20251105",
4
4
  "description": "TypeScript typings for Cloud Shell API v1",
5
5
  "repository": {
6
6
  "type": "git",