@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20230327 → 0.0.20230405
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.
- package/index.d.ts +21 -9
- package/package.json +1 -1
- package/tests.ts +11 -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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230405
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -82,11 +82,11 @@ declare namespace gapi.client {
|
|
|
82
82
|
workingDir?: string;
|
|
83
83
|
}
|
|
84
84
|
interface CustomerEncryptionKey {
|
|
85
|
-
/** The name of the Google Cloud KMS encryption key. For example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. */
|
|
85
|
+
/** Immutable. The name of the Google Cloud KMS encryption key. For example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. */
|
|
86
86
|
kmsKey?: string;
|
|
87
87
|
/**
|
|
88
|
-
* The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see
|
|
89
|
-
* duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding`
|
|
88
|
+
* Immutable. The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see
|
|
89
|
+
* [Separation of duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding`
|
|
90
90
|
* [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
|
|
91
91
|
*/
|
|
92
92
|
kmsKeyServiceAccount?: string;
|
|
@@ -363,6 +363,8 @@ declare namespace gapi.client {
|
|
|
363
363
|
deleteTime?: string;
|
|
364
364
|
/** Human-readable name for this resource. */
|
|
365
365
|
displayName?: string;
|
|
366
|
+
/** Environment variables passed to the workstation container. */
|
|
367
|
+
env?: { [P in string]: string };
|
|
366
368
|
/** Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
|
|
367
369
|
etag?: string;
|
|
368
370
|
/**
|
|
@@ -388,6 +390,11 @@ declare namespace gapi.client {
|
|
|
388
390
|
annotations?: { [P in string]: string };
|
|
389
391
|
/** Output only. Status conditions describing the current resource state. */
|
|
390
392
|
conditions?: Status[];
|
|
393
|
+
/**
|
|
394
|
+
* Output only. The private IP address of the control plane for this cluster. Workstation VMs need access to this IP address to work with the service, so please ensure your firewall
|
|
395
|
+
* rules allow egress from the Workstation VMs to this address.
|
|
396
|
+
*/
|
|
397
|
+
controlPlaneIp?: string;
|
|
391
398
|
/** Output only. Time when this resource was created. */
|
|
392
399
|
createTime?: string;
|
|
393
400
|
/** Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field. */
|
|
@@ -431,11 +438,16 @@ declare namespace gapi.client {
|
|
|
431
438
|
/** Human-readable name for this resource. */
|
|
432
439
|
displayName?: string;
|
|
433
440
|
/**
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
441
|
+
* Whether to enable linux auditd logging on the workstation. When enabled, a service account must also be specified that has logging.buckets.write permission on the project. Operating
|
|
442
|
+
* system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
|
|
443
|
+
*/
|
|
444
|
+
enableAuditAgent?: boolean;
|
|
445
|
+
/**
|
|
446
|
+
* Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key. If specified, the boot disk of the Compute Engine instance and the
|
|
447
|
+
* persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect
|
|
448
|
+
* disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version
|
|
449
|
+
* of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. If the encryption key is revoked,
|
|
450
|
+
* the workstation session will automatically be stopped within 7 hours. Immutable after workstation config is created.
|
|
439
451
|
*/
|
|
440
452
|
encryptionKey?: CustomerEncryptionKey;
|
|
441
453
|
/** Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230405
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -77,6 +77,7 @@ gapi.load('client', async () => {
|
|
|
77
77
|
message: "Test string",
|
|
78
78
|
}
|
|
79
79
|
],
|
|
80
|
+
controlPlaneIp: "Test string",
|
|
80
81
|
createTime: "Test string",
|
|
81
82
|
degraded: true,
|
|
82
83
|
deleteTime: "Test string",
|
|
@@ -138,6 +139,7 @@ gapi.load('client', async () => {
|
|
|
138
139
|
message: "Test string",
|
|
139
140
|
}
|
|
140
141
|
],
|
|
142
|
+
controlPlaneIp: "Test string",
|
|
141
143
|
createTime: "Test string",
|
|
142
144
|
degraded: true,
|
|
143
145
|
deleteTime: "Test string",
|
|
@@ -199,6 +201,7 @@ gapi.load('client', async () => {
|
|
|
199
201
|
degraded: true,
|
|
200
202
|
deleteTime: "Test string",
|
|
201
203
|
displayName: "Test string",
|
|
204
|
+
enableAuditAgent: true,
|
|
202
205
|
encryptionKey: {
|
|
203
206
|
kmsKey: "Test string",
|
|
204
207
|
kmsKeyServiceAccount: "Test string",
|
|
@@ -313,6 +316,7 @@ gapi.load('client', async () => {
|
|
|
313
316
|
degraded: true,
|
|
314
317
|
deleteTime: "Test string",
|
|
315
318
|
displayName: "Test string",
|
|
319
|
+
enableAuditAgent: true,
|
|
316
320
|
encryptionKey: {
|
|
317
321
|
kmsKey: "Test string",
|
|
318
322
|
kmsKeyServiceAccount: "Test string",
|
|
@@ -420,6 +424,9 @@ gapi.load('client', async () => {
|
|
|
420
424
|
createTime: "Test string",
|
|
421
425
|
deleteTime: "Test string",
|
|
422
426
|
displayName: "Test string",
|
|
427
|
+
env: {
|
|
428
|
+
A: "Test string"
|
|
429
|
+
},
|
|
423
430
|
etag: "Test string",
|
|
424
431
|
host: "Test string",
|
|
425
432
|
labels: {
|
|
@@ -478,6 +485,9 @@ gapi.load('client', async () => {
|
|
|
478
485
|
createTime: "Test string",
|
|
479
486
|
deleteTime: "Test string",
|
|
480
487
|
displayName: "Test string",
|
|
488
|
+
env: {
|
|
489
|
+
A: "Test string"
|
|
490
|
+
},
|
|
481
491
|
etag: "Test string",
|
|
482
492
|
host: "Test string",
|
|
483
493
|
labels: {
|