@maxim_mazurok/gapi.client.cloudshell-v1 0.0.20230425 → 0.0.20230515

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 +413 -207
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20230425
12
+ // Revision: 20230515
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -30,22 +30,27 @@ declare namespace gapi.client {
30
30
  * Key that should be added to the environment. Supported formats are `ssh-dss` (see RFC4253), `ssh-rsa` (see RFC4253), `ecdsa-sha2-nistp256` (see RFC5656), `ecdsa-sha2-nistp384` (see
31
31
  * RFC5656) and `ecdsa-sha2-nistp521` (see RFC5656). It should be structured as <format> <content>, where <content> part is encoded with Base64.
32
32
  */
33
- key?: string;
33
+ key?:
34
+ string;
34
35
  }
35
36
  interface AddPublicKeyResponse {
36
37
  /** Key that was added to the environment. */
37
- key?: string;
38
+ key?:
39
+ string;
38
40
  }
39
41
  // tslint:disable-next-line:no-empty-interface
40
42
  interface AuthorizeEnvironmentMetadata {
41
43
  }
42
44
  interface AuthorizeEnvironmentRequest {
43
45
  /** The OAuth access token that should be sent to the environment. */
44
- accessToken?: string;
46
+ accessToken?:
47
+ string;
45
48
  /** The time when the credentials expire. If not set, defaults to one hour from when the server received the request. */
46
- expireTime?: string;
49
+ expireTime?:
50
+ string;
47
51
  /** The OAuth ID token that should be sent to the environment. */
48
- idToken?: string;
52
+ idToken?:
53
+ string;
49
54
  }
50
55
  // tslint:disable-next-line:no-empty-interface
51
56
  interface AuthorizeEnvironmentResponse {
@@ -64,95 +69,119 @@ declare namespace gapi.client {
64
69
  }
65
70
  interface Environment {
66
71
  /** Required. Immutable. Full path to the Docker image used to run this environment, e.g. "gcr.io/dev-con/cloud-devshell:latest". */
67
- dockerImage?: string;
72
+ dockerImage?:
73
+ string;
68
74
  /** Output only. The environment's identifier, unique among the user's environments. */
69
- id?: string;
75
+ id?:
76
+ string;
70
77
  /**
71
78
  * Immutable. Full name of this resource, in the format `users/{owner_email}/environments/{environment_id}`. `{owner_email}` is the email address of the user to whom this environment
72
79
  * belongs, and `{environment_id}` is the identifier of this environment. For example, `users/someone@example.com/environments/default`.
73
80
  */
74
- name?: string;
81
+ name?:
82
+ string;
75
83
  /**
76
84
  * Output only. Public keys associated with the environment. Clients can connect to this environment via SSH only if they possess a private key corresponding to at least one of these
77
85
  * public keys. Keys can be added to or removed from the environment using the AddPublicKey and RemovePublicKey methods.
78
86
  */
79
- publicKeys?: string[];
87
+ publicKeys?:
88
+ string[];
80
89
  /** Output only. Host to which clients can connect to initiate SSH sessions with the environment. */
81
- sshHost?: string;
90
+ sshHost?:
91
+ string;
82
92
  /** Output only. Port to which clients can connect to initiate SSH sessions with the environment. */
83
- sshPort?: number;
93
+ sshPort?:
94
+ number;
84
95
  /** Output only. Username that clients should use when initiating SSH sessions with the environment. */
85
- sshUsername?: string;
96
+ sshUsername?:
97
+ string;
86
98
  /** Output only. Current execution state of this environment. */
87
- state?: string;
99
+ state?:
100
+ string;
88
101
  /** Output only. Host to which clients can connect to initiate HTTPS or WSS connections with the environment. */
89
- webHost?: string;
102
+ webHost?:
103
+ string;
90
104
  }
91
105
  interface ListOperationsResponse {
92
106
  /** The standard List next-page token. */
93
- nextPageToken?: string;
107
+ nextPageToken?:
108
+ string;
94
109
  /** A list of operations that matches the specified filter in the request. */
95
- operations?: Operation[];
110
+ operations?:
111
+ Operation[];
96
112
  }
97
113
  interface Operation {
98
114
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
99
- done?: boolean;
115
+ done?:
116
+ boolean;
100
117
  /** The error result of the operation in case of failure or cancellation. */
101
- error?: Status;
118
+ error?:
119
+ Status;
102
120
  /**
103
121
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
104
122
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
105
123
  */
106
- metadata?: { [P in string]: any };
124
+ metadata?:
125
+ { [P in string]: any };
107
126
  /**
108
127
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
109
128
  * with `operations/{unique_id}`.
110
129
  */
111
- name?: string;
130
+ name?:
131
+ string;
112
132
  /**
113
133
  * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
114
134
  * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
115
135
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
116
136
  */
117
- response?: { [P in string]: any };
137
+ response?:
138
+ { [P in string]: any };
118
139
  }
119
140
  // tslint:disable-next-line:no-empty-interface
120
141
  interface RemovePublicKeyMetadata {
121
142
  }
122
143
  interface RemovePublicKeyRequest {
123
144
  /** Key that should be removed from the environment. */
124
- key?: string;
145
+ key?:
146
+ string;
125
147
  }
126
148
  // tslint:disable-next-line:no-empty-interface
127
149
  interface RemovePublicKeyResponse {
128
150
  }
129
151
  interface StartEnvironmentMetadata {
130
152
  /** Current state of the environment being started. */
131
- state?: string;
153
+ state?:
154
+ string;
132
155
  }
133
156
  interface StartEnvironmentRequest {
134
157
  /**
135
158
  * The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in
136
159
  * Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
137
160
  */
138
- accessToken?: string;
161
+ accessToken?:
162
+ string;
139
163
  /** Public keys that should be added to the environment before it is started. */
140
- publicKeys?: string[];
164
+ publicKeys?:
165
+ string[];
141
166
  }
142
167
  interface StartEnvironmentResponse {
143
168
  /** Environment that was started. */
144
- environment?: Environment;
169
+ environment?:
170
+ Environment;
145
171
  }
146
172
  interface Status {
147
173
  /** The status code, which should be an enum value of google.rpc.Code. */
148
- code?: number;
174
+ code?:
175
+ number;
149
176
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
150
- details?: Array<{ [P in string]: any }>;
177
+ details?:
178
+ Array<{ [P in string]: any }>;
151
179
  /**
152
180
  * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
153
181
  * client.
154
182
  */
155
- message?: string;
183
+ message?:
184
+ string;
156
185
  }
157
186
  interface OperationsResource {
158
187
  /**
@@ -163,57 +192,82 @@ declare namespace gapi.client {
163
192
  */
164
193
  cancel(request: {
165
194
  /** V1 error format. */
166
- "$.xgafv"?: string;
195
+ "$.xgafv"?:
196
+ string;
167
197
  /** OAuth access token. */
168
- access_token?: string;
198
+ access_token?:
199
+ string;
169
200
  /** Data format for response. */
170
- alt?: string;
201
+ alt?:
202
+ string;
171
203
  /** JSONP */
172
- callback?: string;
204
+ callback?:
205
+ string;
173
206
  /** Selector specifying which fields to include in a partial response. */
174
- fields?: string;
207
+ fields?:
208
+ string;
175
209
  /** 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. */
176
- key?: string;
210
+ key?:
211
+ string;
177
212
  /** The name of the operation resource to be cancelled. */
178
- name: string;
213
+ name:
214
+ string;
179
215
  /** OAuth 2.0 token for the current user. */
180
- oauth_token?: string;
216
+ oauth_token?:
217
+ string;
181
218
  /** Returns response with indentations and line breaks. */
182
- prettyPrint?: boolean;
219
+ prettyPrint?:
220
+ boolean;
183
221
  /** 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. */
184
- quotaUser?: string;
222
+ quotaUser?:
223
+ string;
185
224
  /** Upload protocol for media (e.g. "raw", "multipart"). */
186
- upload_protocol?: string;
225
+ upload_protocol?:
226
+ string;
187
227
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
188
- uploadType?: string;
228
+ uploadType?:
229
+ string;
189
230
  /** Request body */
190
- resource: CancelOperationRequest;
231
+ resource:
232
+ CancelOperationRequest;
191
233
  }): Request<{}>;
192
234
  cancel(request: {
193
235
  /** V1 error format. */
194
- "$.xgafv"?: string;
236
+ "$.xgafv"?:
237
+ string;
195
238
  /** OAuth access token. */
196
- access_token?: string;
239
+ access_token?:
240
+ string;
197
241
  /** Data format for response. */
198
- alt?: string;
242
+ alt?:
243
+ string;
199
244
  /** JSONP */
200
- callback?: string;
245
+ callback?:
246
+ string;
201
247
  /** Selector specifying which fields to include in a partial response. */
202
- fields?: string;
248
+ fields?:
249
+ string;
203
250
  /** 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. */
204
- key?: string;
251
+ key?:
252
+ string;
205
253
  /** The name of the operation resource to be cancelled. */
206
- name: string;
254
+ name:
255
+ string;
207
256
  /** OAuth 2.0 token for the current user. */
208
- oauth_token?: string;
257
+ oauth_token?:
258
+ string;
209
259
  /** Returns response with indentations and line breaks. */
210
- prettyPrint?: boolean;
260
+ prettyPrint?:
261
+ boolean;
211
262
  /** 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. */
212
- quotaUser?: string;
263
+ quotaUser?:
264
+ string;
213
265
  /** Upload protocol for media (e.g. "raw", "multipart"). */
214
- upload_protocol?: string;
266
+ upload_protocol?:
267
+ string;
215
268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
216
- uploadType?: string;
269
+ uploadType?:
270
+ string;
217
271
  },
218
272
  body: CancelOperationRequest): Request<{}>;
219
273
  /**
@@ -222,89 +276,128 @@ declare namespace gapi.client {
222
276
  */
223
277
  delete(request?: {
224
278
  /** V1 error format. */
225
- "$.xgafv"?: string;
279
+ "$.xgafv"?:
280
+ string;
226
281
  /** OAuth access token. */
227
- access_token?: string;
282
+ access_token?:
283
+ string;
228
284
  /** Data format for response. */
229
- alt?: string;
285
+ alt?:
286
+ string;
230
287
  /** JSONP */
231
- callback?: string;
288
+ callback?:
289
+ string;
232
290
  /** Selector specifying which fields to include in a partial response. */
233
- fields?: string;
291
+ fields?:
292
+ string;
234
293
  /** 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. */
235
- key?: string;
294
+ key?:
295
+ string;
236
296
  /** The name of the operation resource to be deleted. */
237
- name: string;
297
+ name:
298
+ string;
238
299
  /** OAuth 2.0 token for the current user. */
239
- oauth_token?: string;
300
+ oauth_token?:
301
+ string;
240
302
  /** Returns response with indentations and line breaks. */
241
- prettyPrint?: boolean;
303
+ prettyPrint?:
304
+ boolean;
242
305
  /** 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. */
243
- quotaUser?: string;
306
+ quotaUser?:
307
+ string;
244
308
  /** Upload protocol for media (e.g. "raw", "multipart"). */
245
- upload_protocol?: string;
309
+ upload_protocol?:
310
+ string;
246
311
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
247
- uploadType?: string;
312
+ uploadType?:
313
+ string;
248
314
  }): Request<{}>;
249
315
  /** 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. */
250
316
  get(request?: {
251
317
  /** V1 error format. */
252
- "$.xgafv"?: string;
318
+ "$.xgafv"?:
319
+ string;
253
320
  /** OAuth access token. */
254
- access_token?: string;
321
+ access_token?:
322
+ string;
255
323
  /** Data format for response. */
256
- alt?: string;
324
+ alt?:
325
+ string;
257
326
  /** JSONP */
258
- callback?: string;
327
+ callback?:
328
+ string;
259
329
  /** Selector specifying which fields to include in a partial response. */
260
- fields?: string;
330
+ fields?:
331
+ string;
261
332
  /** 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. */
262
- key?: string;
333
+ key?:
334
+ string;
263
335
  /** The name of the operation resource. */
264
- name: string;
336
+ name:
337
+ string;
265
338
  /** OAuth 2.0 token for the current user. */
266
- oauth_token?: string;
339
+ oauth_token?:
340
+ string;
267
341
  /** Returns response with indentations and line breaks. */
268
- prettyPrint?: boolean;
342
+ prettyPrint?:
343
+ boolean;
269
344
  /** 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. */
270
- quotaUser?: string;
345
+ quotaUser?:
346
+ string;
271
347
  /** Upload protocol for media (e.g. "raw", "multipart"). */
272
- upload_protocol?: string;
348
+ upload_protocol?:
349
+ string;
273
350
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
274
- uploadType?: string;
351
+ uploadType?:
352
+ string;
275
353
  }): Request<Operation>;
276
354
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
277
355
  list(request?: {
278
356
  /** V1 error format. */
279
- "$.xgafv"?: string;
357
+ "$.xgafv"?:
358
+ string;
280
359
  /** OAuth access token. */
281
- access_token?: string;
360
+ access_token?:
361
+ string;
282
362
  /** Data format for response. */
283
- alt?: string;
363
+ alt?:
364
+ string;
284
365
  /** JSONP */
285
- callback?: string;
366
+ callback?:
367
+ string;
286
368
  /** Selector specifying which fields to include in a partial response. */
287
- fields?: string;
369
+ fields?:
370
+ string;
288
371
  /** The standard list filter. */
289
- filter?: string;
372
+ filter?:
373
+ string;
290
374
  /** 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. */
291
- key?: string;
375
+ key?:
376
+ string;
292
377
  /** The name of the operation's parent resource. */
293
- name: string;
378
+ name:
379
+ string;
294
380
  /** OAuth 2.0 token for the current user. */
295
- oauth_token?: string;
381
+ oauth_token?:
382
+ string;
296
383
  /** The standard list page size. */
297
- pageSize?: number;
384
+ pageSize?:
385
+ number;
298
386
  /** The standard list page token. */
299
- pageToken?: string;
387
+ pageToken?:
388
+ string;
300
389
  /** Returns response with indentations and line breaks. */
301
- prettyPrint?: boolean;
390
+ prettyPrint?:
391
+ boolean;
302
392
  /** 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. */
303
- quotaUser?: string;
393
+ quotaUser?:
394
+ string;
304
395
  /** Upload protocol for media (e.g. "raw", "multipart"). */
305
- upload_protocol?: string;
396
+ upload_protocol?:
397
+ string;
306
398
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
307
- uploadType?: string;
399
+ uploadType?:
400
+ string;
308
401
  }): Request<ListOperationsResponse>;
309
402
  }
310
403
  interface EnvironmentsResource {
@@ -314,57 +407,82 @@ declare namespace gapi.client {
314
407
  */
315
408
  addPublicKey(request: {
316
409
  /** V1 error format. */
317
- "$.xgafv"?: string;
410
+ "$.xgafv"?:
411
+ string;
318
412
  /** OAuth access token. */
319
- access_token?: string;
413
+ access_token?:
414
+ string;
320
415
  /** Data format for response. */
321
- alt?: string;
416
+ alt?:
417
+ string;
322
418
  /** JSONP */
323
- callback?: string;
419
+ callback?:
420
+ string;
324
421
  /** Environment this key should be added to, e.g. `users/me/environments/default`. */
325
- environment: string;
422
+ environment:
423
+ string;
326
424
  /** Selector specifying which fields to include in a partial response. */
327
- fields?: string;
425
+ fields?:
426
+ string;
328
427
  /** 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. */
329
- key?: string;
428
+ key?:
429
+ string;
330
430
  /** OAuth 2.0 token for the current user. */
331
- oauth_token?: string;
431
+ oauth_token?:
432
+ string;
332
433
  /** Returns response with indentations and line breaks. */
333
- prettyPrint?: boolean;
434
+ prettyPrint?:
435
+ boolean;
334
436
  /** 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. */
335
- quotaUser?: string;
437
+ quotaUser?:
438
+ string;
336
439
  /** Upload protocol for media (e.g. "raw", "multipart"). */
337
- upload_protocol?: string;
440
+ upload_protocol?:
441
+ string;
338
442
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
339
- uploadType?: string;
443
+ uploadType?:
444
+ string;
340
445
  /** Request body */
341
- resource: AddPublicKeyRequest;
446
+ resource:
447
+ AddPublicKeyRequest;
342
448
  }): Request<Operation>;
343
449
  addPublicKey(request: {
344
450
  /** V1 error format. */
345
- "$.xgafv"?: string;
451
+ "$.xgafv"?:
452
+ string;
346
453
  /** OAuth access token. */
347
- access_token?: string;
454
+ access_token?:
455
+ string;
348
456
  /** Data format for response. */
349
- alt?: string;
457
+ alt?:
458
+ string;
350
459
  /** JSONP */
351
- callback?: string;
460
+ callback?:
461
+ string;
352
462
  /** Environment this key should be added to, e.g. `users/me/environments/default`. */
353
- environment: string;
463
+ environment:
464
+ string;
354
465
  /** Selector specifying which fields to include in a partial response. */
355
- fields?: string;
466
+ fields?:
467
+ string;
356
468
  /** 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. */
357
- key?: string;
469
+ key?:
470
+ string;
358
471
  /** OAuth 2.0 token for the current user. */
359
- oauth_token?: string;
472
+ oauth_token?:
473
+ string;
360
474
  /** Returns response with indentations and line breaks. */
361
- prettyPrint?: boolean;
475
+ prettyPrint?:
476
+ boolean;
362
477
  /** 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. */
363
- quotaUser?: string;
478
+ quotaUser?:
479
+ string;
364
480
  /** Upload protocol for media (e.g. "raw", "multipart"). */
365
- upload_protocol?: string;
481
+ upload_protocol?:
482
+ string;
366
483
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
367
- uploadType?: string;
484
+ uploadType?:
485
+ string;
368
486
  },
369
487
  body: AddPublicKeyRequest): Request<Operation>;
370
488
  /**
@@ -373,85 +491,122 @@ declare namespace gapi.client {
373
491
  */
374
492
  authorize(request: {
375
493
  /** V1 error format. */
376
- "$.xgafv"?: string;
494
+ "$.xgafv"?:
495
+ string;
377
496
  /** OAuth access token. */
378
- access_token?: string;
497
+ access_token?:
498
+ string;
379
499
  /** Data format for response. */
380
- alt?: string;
500
+ alt?:
501
+ string;
381
502
  /** JSONP */
382
- callback?: string;
503
+ callback?:
504
+ string;
383
505
  /** Selector specifying which fields to include in a partial response. */
384
- fields?: string;
506
+ fields?:
507
+ string;
385
508
  /** 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. */
386
- key?: string;
509
+ key?:
510
+ string;
387
511
  /** Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`. */
388
- name: string;
512
+ name:
513
+ string;
389
514
  /** OAuth 2.0 token for the current user. */
390
- oauth_token?: string;
515
+ oauth_token?:
516
+ string;
391
517
  /** Returns response with indentations and line breaks. */
392
- prettyPrint?: boolean;
518
+ prettyPrint?:
519
+ boolean;
393
520
  /** 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. */
394
- quotaUser?: string;
521
+ quotaUser?:
522
+ string;
395
523
  /** Upload protocol for media (e.g. "raw", "multipart"). */
396
- upload_protocol?: string;
524
+ upload_protocol?:
525
+ string;
397
526
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
398
- uploadType?: string;
527
+ uploadType?:
528
+ string;
399
529
  /** Request body */
400
- resource: AuthorizeEnvironmentRequest;
530
+ resource:
531
+ AuthorizeEnvironmentRequest;
401
532
  }): Request<Operation>;
402
533
  authorize(request: {
403
534
  /** V1 error format. */
404
- "$.xgafv"?: string;
535
+ "$.xgafv"?:
536
+ string;
405
537
  /** OAuth access token. */
406
- access_token?: string;
538
+ access_token?:
539
+ string;
407
540
  /** Data format for response. */
408
- alt?: string;
541
+ alt?:
542
+ string;
409
543
  /** JSONP */
410
- callback?: string;
544
+ callback?:
545
+ string;
411
546
  /** Selector specifying which fields to include in a partial response. */
412
- fields?: string;
547
+ fields?:
548
+ string;
413
549
  /** 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. */
414
- key?: string;
550
+ key?:
551
+ string;
415
552
  /** Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`. */
416
- name: string;
553
+ name:
554
+ string;
417
555
  /** OAuth 2.0 token for the current user. */
418
- oauth_token?: string;
556
+ oauth_token?:
557
+ string;
419
558
  /** Returns response with indentations and line breaks. */
420
- prettyPrint?: boolean;
559
+ prettyPrint?:
560
+ boolean;
421
561
  /** 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. */
422
- quotaUser?: string;
562
+ quotaUser?:
563
+ string;
423
564
  /** Upload protocol for media (e.g. "raw", "multipart"). */
424
- upload_protocol?: string;
565
+ upload_protocol?:
566
+ string;
425
567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
426
- uploadType?: string;
568
+ uploadType?:
569
+ string;
427
570
  },
428
571
  body: AuthorizeEnvironmentRequest): Request<Operation>;
429
572
  /** Gets an environment. Returns NOT_FOUND if the environment does not exist. */
430
573
  get(request?: {
431
574
  /** V1 error format. */
432
- "$.xgafv"?: string;
575
+ "$.xgafv"?:
576
+ string;
433
577
  /** OAuth access token. */
434
- access_token?: string;
578
+ access_token?:
579
+ string;
435
580
  /** Data format for response. */
436
- alt?: string;
581
+ alt?:
582
+ string;
437
583
  /** JSONP */
438
- callback?: string;
584
+ callback?:
585
+ string;
439
586
  /** Selector specifying which fields to include in a partial response. */
440
- fields?: string;
587
+ fields?:
588
+ string;
441
589
  /** 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. */
442
- key?: string;
590
+ key?:
591
+ string;
443
592
  /** Required. Name of the requested resource, for example `users/me/environments/default` or `users/someone@example.com/environments/default`. */
444
- name: string;
593
+ name:
594
+ string;
445
595
  /** OAuth 2.0 token for the current user. */
446
- oauth_token?: string;
596
+ oauth_token?:
597
+ string;
447
598
  /** Returns response with indentations and line breaks. */
448
- prettyPrint?: boolean;
599
+ prettyPrint?:
600
+ boolean;
449
601
  /** 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. */
450
- quotaUser?: string;
602
+ quotaUser?:
603
+ string;
451
604
  /** Upload protocol for media (e.g. "raw", "multipart"). */
452
- upload_protocol?: string;
605
+ upload_protocol?:
606
+ string;
453
607
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
454
- uploadType?: string;
608
+ uploadType?:
609
+ string;
455
610
  }): Request<Environment>;
456
611
  /**
457
612
  * Removes a public SSH key from an environment. Clients will no longer be able to connect to the environment using the corresponding private key. If a key with the same content is not
@@ -459,57 +614,82 @@ declare namespace gapi.client {
459
614
  */
460
615
  removePublicKey(request: {
461
616
  /** V1 error format. */
462
- "$.xgafv"?: string;
617
+ "$.xgafv"?:
618
+ string;
463
619
  /** OAuth access token. */
464
- access_token?: string;
620
+ access_token?:
621
+ string;
465
622
  /** Data format for response. */
466
- alt?: string;
623
+ alt?:
624
+ string;
467
625
  /** JSONP */
468
- callback?: string;
626
+ callback?:
627
+ string;
469
628
  /** Environment this key should be removed from, e.g. `users/me/environments/default`. */
470
- environment: string;
629
+ environment:
630
+ string;
471
631
  /** Selector specifying which fields to include in a partial response. */
472
- fields?: string;
632
+ fields?:
633
+ string;
473
634
  /** 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. */
474
- key?: string;
635
+ key?:
636
+ string;
475
637
  /** OAuth 2.0 token for the current user. */
476
- oauth_token?: string;
638
+ oauth_token?:
639
+ string;
477
640
  /** Returns response with indentations and line breaks. */
478
- prettyPrint?: boolean;
641
+ prettyPrint?:
642
+ boolean;
479
643
  /** 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. */
480
- quotaUser?: string;
644
+ quotaUser?:
645
+ string;
481
646
  /** Upload protocol for media (e.g. "raw", "multipart"). */
482
- upload_protocol?: string;
647
+ upload_protocol?:
648
+ string;
483
649
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
484
- uploadType?: string;
650
+ uploadType?:
651
+ string;
485
652
  /** Request body */
486
- resource: RemovePublicKeyRequest;
653
+ resource:
654
+ RemovePublicKeyRequest;
487
655
  }): Request<Operation>;
488
656
  removePublicKey(request: {
489
657
  /** V1 error format. */
490
- "$.xgafv"?: string;
658
+ "$.xgafv"?:
659
+ string;
491
660
  /** OAuth access token. */
492
- access_token?: string;
661
+ access_token?:
662
+ string;
493
663
  /** Data format for response. */
494
- alt?: string;
664
+ alt?:
665
+ string;
495
666
  /** JSONP */
496
- callback?: string;
667
+ callback?:
668
+ string;
497
669
  /** Environment this key should be removed from, e.g. `users/me/environments/default`. */
498
- environment: string;
670
+ environment:
671
+ string;
499
672
  /** Selector specifying which fields to include in a partial response. */
500
- fields?: string;
673
+ fields?:
674
+ string;
501
675
  /** 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. */
502
- key?: string;
676
+ key?:
677
+ string;
503
678
  /** OAuth 2.0 token for the current user. */
504
- oauth_token?: string;
679
+ oauth_token?:
680
+ string;
505
681
  /** Returns response with indentations and line breaks. */
506
- prettyPrint?: boolean;
682
+ prettyPrint?:
683
+ boolean;
507
684
  /** 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. */
508
- quotaUser?: string;
685
+ quotaUser?:
686
+ string;
509
687
  /** Upload protocol for media (e.g. "raw", "multipart"). */
510
- upload_protocol?: string;
688
+ upload_protocol?:
689
+ string;
511
690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
512
- uploadType?: string;
691
+ uploadType?:
692
+ string;
513
693
  },
514
694
  body: RemovePublicKeyRequest): Request<Operation>;
515
695
  /**
@@ -519,62 +699,88 @@ declare namespace gapi.client {
519
699
  */
520
700
  start(request: {
521
701
  /** V1 error format. */
522
- "$.xgafv"?: string;
702
+ "$.xgafv"?:
703
+ string;
523
704
  /** OAuth access token. */
524
- access_token?: string;
705
+ access_token?:
706
+ string;
525
707
  /** Data format for response. */
526
- alt?: string;
708
+ alt?:
709
+ string;
527
710
  /** JSONP */
528
- callback?: string;
711
+ callback?:
712
+ string;
529
713
  /** Selector specifying which fields to include in a partial response. */
530
- fields?: string;
714
+ fields?:
715
+ string;
531
716
  /** 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. */
532
- key?: string;
717
+ key?:
718
+ string;
533
719
  /** Name of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`. */
534
- name: string;
720
+ name:
721
+ string;
535
722
  /** OAuth 2.0 token for the current user. */
536
- oauth_token?: string;
723
+ oauth_token?:
724
+ string;
537
725
  /** Returns response with indentations and line breaks. */
538
- prettyPrint?: boolean;
726
+ prettyPrint?:
727
+ boolean;
539
728
  /** 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. */
540
- quotaUser?: string;
729
+ quotaUser?:
730
+ string;
541
731
  /** Upload protocol for media (e.g. "raw", "multipart"). */
542
- upload_protocol?: string;
732
+ upload_protocol?:
733
+ string;
543
734
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
544
- uploadType?: string;
735
+ uploadType?:
736
+ string;
545
737
  /** Request body */
546
- resource: StartEnvironmentRequest;
738
+ resource:
739
+ StartEnvironmentRequest;
547
740
  }): Request<Operation>;
548
741
  start(request: {
549
742
  /** V1 error format. */
550
- "$.xgafv"?: string;
743
+ "$.xgafv"?:
744
+ string;
551
745
  /** OAuth access token. */
552
- access_token?: string;
746
+ access_token?:
747
+ string;
553
748
  /** Data format for response. */
554
- alt?: string;
749
+ alt?:
750
+ string;
555
751
  /** JSONP */
556
- callback?: string;
752
+ callback?:
753
+ string;
557
754
  /** Selector specifying which fields to include in a partial response. */
558
- fields?: string;
755
+ fields?:
756
+ string;
559
757
  /** 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. */
560
- key?: string;
758
+ key?:
759
+ string;
561
760
  /** Name of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`. */
562
- name: string;
761
+ name:
762
+ string;
563
763
  /** OAuth 2.0 token for the current user. */
564
- oauth_token?: string;
764
+ oauth_token?:
765
+ string;
565
766
  /** Returns response with indentations and line breaks. */
566
- prettyPrint?: boolean;
767
+ prettyPrint?:
768
+ boolean;
567
769
  /** 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. */
568
- quotaUser?: string;
770
+ quotaUser?:
771
+ string;
569
772
  /** Upload protocol for media (e.g. "raw", "multipart"). */
570
- upload_protocol?: string;
773
+ upload_protocol?:
774
+ string;
571
775
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
572
- uploadType?: string;
776
+ uploadType?:
777
+ string;
573
778
  },
574
779
  body: StartEnvironmentRequest): Request<Operation>;
575
780
  }
576
781
  interface UsersResource {
577
- environments: EnvironmentsResource;
782
+ environments:
783
+ EnvironmentsResource;
578
784
  }
579
785
 
580
786
  const operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudshell-v1",
3
- "version": "0.0.20230425",
3
+ "version": "0.0.20230515",
4
4
  "description": "TypeScript typings for Cloud Shell API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230425
6
+ // Revision: 20230515
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */