@maxim_mazurok/gapi.client.workstations-v1 0.0.20230802 → 0.0.20230904

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 +17 -1
  2. package/package.json +1 -1
  3. package/tests.ts +15 -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://workstations.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230802
12
+ // Revision: 20230904
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -183,6 +183,12 @@ declare namespace gapi.client {
183
183
  */
184
184
  serviceAccount?:
185
185
  string;
186
+ /**
187
+ * Optional. Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must
188
+ * have `iam.serviceAccounts.actAs` on the service account.
189
+ */
190
+ serviceAccountScopes?:
191
+ string[];
186
192
  /** Optional. A set of Compute Engine Shielded instance options. */
187
193
  shieldedInstanceConfig?:
188
194
  GceShieldedInstanceConfig;
@@ -557,6 +563,9 @@ declare namespace gapi.client {
557
563
  /** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
558
564
  reconciling?:
559
565
  boolean;
566
+ /** Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state. */
567
+ startTime?:
568
+ string;
560
569
  /** Output only. Current state of the workstation. */
561
570
  state?:
562
571
  string;
@@ -691,6 +700,13 @@ declare namespace gapi.client {
691
700
  /** Output only. Indicates whether this workstation configuration is currently being updated to match its intended state. */
692
701
  reconciling?:
693
702
  boolean;
703
+ /**
704
+ * Optional. Immutable. Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be
705
+ * specified—for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is
706
+ * created.
707
+ */
708
+ replicaZones?:
709
+ string[];
694
710
  /**
695
711
  * Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security
696
712
  * updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workstations-v1",
3
- "version": "0.0.20230802",
3
+ "version": "0.0.20230904",
4
4
  "description": "TypeScript typings for Cloud Workstations 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: 20230802
6
+ // Revision: 20230904
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -229,6 +229,9 @@ gapi.load('client', async () => {
229
229
  pooledInstances: 42,
230
230
  poolSize: 42,
231
231
  serviceAccount: "Test string",
232
+ serviceAccountScopes: [
233
+ "Test string"
234
+ ],
232
235
  shieldedInstanceConfig: {
233
236
  enableIntegrityMonitoring: true,
234
237
  enableSecureBoot: true,
@@ -263,6 +266,9 @@ gapi.load('client', async () => {
263
266
  }
264
267
  ],
265
268
  reconciling: true,
269
+ replicaZones: [
270
+ "Test string"
271
+ ],
266
272
  runningTimeout: "Test string",
267
273
  uid: "Test string",
268
274
  updateTime: "Test string",
@@ -351,6 +357,9 @@ gapi.load('client', async () => {
351
357
  pooledInstances: 42,
352
358
  poolSize: 42,
353
359
  serviceAccount: "Test string",
360
+ serviceAccountScopes: [
361
+ "Test string"
362
+ ],
354
363
  shieldedInstanceConfig: {
355
364
  enableIntegrityMonitoring: true,
356
365
  enableSecureBoot: true,
@@ -385,6 +394,9 @@ gapi.load('client', async () => {
385
394
  }
386
395
  ],
387
396
  reconciling: true,
397
+ replicaZones: [
398
+ "Test string"
399
+ ],
388
400
  runningTimeout: "Test string",
389
401
  uid: "Test string",
390
402
  updateTime: "Test string",
@@ -456,6 +468,7 @@ gapi.load('client', async () => {
456
468
  },
457
469
  name: "Test string",
458
470
  reconciling: true,
471
+ startTime: "Test string",
459
472
  state: "Test string",
460
473
  uid: "Test string",
461
474
  updateTime: "Test string",
@@ -514,6 +527,7 @@ gapi.load('client', async () => {
514
527
  },
515
528
  name: "Test string",
516
529
  reconciling: true,
530
+ startTime: "Test string",
517
531
  state: "Test string",
518
532
  uid: "Test string",
519
533
  updateTime: "Test string",