@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20230405 → 0.0.20230412
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 +25 -25
- package/package.json +1 -1
- package/tests.ts +3 -3
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: 20230412
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -74,7 +74,7 @@ declare namespace gapi.client {
|
|
|
74
74
|
command?: string[];
|
|
75
75
|
/** Environment variables passed to the container. */
|
|
76
76
|
env?: { [P in string]: string };
|
|
77
|
-
/** Docker image defining the container. This image must be accessible by the
|
|
77
|
+
/** Docker image defining the container. This image must be accessible by the service account specified in the workstation configuration. */
|
|
78
78
|
image?: string;
|
|
79
79
|
/** If set, overrides the USER specified in the image with the given uid. */
|
|
80
80
|
runAsUser?: number;
|
|
@@ -117,8 +117,8 @@ declare namespace gapi.client {
|
|
|
117
117
|
/** Number of instances to pool for faster workstation starup. */
|
|
118
118
|
poolSize?: number;
|
|
119
119
|
/**
|
|
120
|
-
* Email address of the service account
|
|
121
|
-
*
|
|
120
|
+
* Email address of the service account used on VM instances used to support this configuration. If not set, VMs run with a Google-managed service account. This service account must
|
|
121
|
+
* have permission to pull the specified container image; otherwise, the image must be publicly accessible.
|
|
122
122
|
*/
|
|
123
123
|
serviceAccount?: string;
|
|
124
124
|
/** A set of Compute Engine Shielded instance options. */
|
|
@@ -365,7 +365,7 @@ declare namespace gapi.client {
|
|
|
365
365
|
displayName?: string;
|
|
366
366
|
/** Environment variables passed to the workstation container. */
|
|
367
367
|
env?: { [P in string]: string };
|
|
368
|
-
/** Checksum computed by the server. May be sent on update and delete requests to
|
|
368
|
+
/** Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
369
369
|
etag?: string;
|
|
370
370
|
/**
|
|
371
371
|
* Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To
|
|
@@ -391,8 +391,8 @@ declare namespace gapi.client {
|
|
|
391
391
|
/** Output only. Status conditions describing the current resource state. */
|
|
392
392
|
conditions?: Status[];
|
|
393
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
|
|
395
|
-
* rules allow egress from the
|
|
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 make sure that your firewall
|
|
395
|
+
* rules allow egress from the workstation VMs to this address.
|
|
396
396
|
*/
|
|
397
397
|
controlPlaneIp?: string;
|
|
398
398
|
/** Output only. Time when this resource was created. */
|
|
@@ -403,7 +403,7 @@ declare namespace gapi.client {
|
|
|
403
403
|
deleteTime?: string;
|
|
404
404
|
/** Human-readable name for this resource. */
|
|
405
405
|
displayName?: string;
|
|
406
|
-
/** Checksum computed by the server. May be sent on update and delete requests to
|
|
406
|
+
/** Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
407
407
|
etag?: string;
|
|
408
408
|
/** Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. */
|
|
409
409
|
labels?: { [P in string]: string };
|
|
@@ -447,10 +447,10 @@ declare namespace gapi.client {
|
|
|
447
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
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
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
|
|
450
|
+
* the workstation session will automatically be stopped within 7 hours. Immutable after the workstation configuration is created.
|
|
451
451
|
*/
|
|
452
452
|
encryptionKey?: CustomerEncryptionKey;
|
|
453
|
-
/** Checksum computed by the server. May be sent on update and delete requests to
|
|
453
|
+
/** Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
454
454
|
etag?: string;
|
|
455
455
|
/** Runtime host for the workstation. */
|
|
456
456
|
host?: Host;
|
|
@@ -847,7 +847,7 @@ declare namespace gapi.client {
|
|
|
847
847
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
848
848
|
uploadType?: string;
|
|
849
849
|
}): Request<Policy>;
|
|
850
|
-
/** Returns all Workstations using the specified
|
|
850
|
+
/** Returns all Workstations using the specified workstation configuration. */
|
|
851
851
|
list(request?: {
|
|
852
852
|
/** V1 error format. */
|
|
853
853
|
"$.xgafv"?: string;
|
|
@@ -878,7 +878,7 @@ declare namespace gapi.client {
|
|
|
878
878
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
879
879
|
uploadType?: string;
|
|
880
880
|
}): Request<ListWorkstationsResponse>;
|
|
881
|
-
/** Returns all
|
|
881
|
+
/** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */
|
|
882
882
|
listUsable(request?: {
|
|
883
883
|
/** V1 error format. */
|
|
884
884
|
"$.xgafv"?: string;
|
|
@@ -915,7 +915,7 @@ declare namespace gapi.client {
|
|
|
915
915
|
"$.xgafv"?: string;
|
|
916
916
|
/** OAuth access token. */
|
|
917
917
|
access_token?: string;
|
|
918
|
-
/** If set
|
|
918
|
+
/** If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
919
919
|
allowMissing?: boolean;
|
|
920
920
|
/** Data format for response. */
|
|
921
921
|
alt?: string;
|
|
@@ -933,7 +933,7 @@ declare namespace gapi.client {
|
|
|
933
933
|
prettyPrint?: boolean;
|
|
934
934
|
/** 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. */
|
|
935
935
|
quotaUser?: string;
|
|
936
|
-
/** Required. Mask specifying which fields in the
|
|
936
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
937
937
|
updateMask?: string;
|
|
938
938
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
939
939
|
upload_protocol?: string;
|
|
@@ -949,7 +949,7 @@ declare namespace gapi.client {
|
|
|
949
949
|
"$.xgafv"?: string;
|
|
950
950
|
/** OAuth access token. */
|
|
951
951
|
access_token?: string;
|
|
952
|
-
/** If set
|
|
952
|
+
/** If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
953
953
|
allowMissing?: boolean;
|
|
954
954
|
/** Data format for response. */
|
|
955
955
|
alt?: string;
|
|
@@ -967,7 +967,7 @@ declare namespace gapi.client {
|
|
|
967
967
|
prettyPrint?: boolean;
|
|
968
968
|
/** 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. */
|
|
969
969
|
quotaUser?: string;
|
|
970
|
-
/** Required. Mask specifying which fields in the
|
|
970
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
971
971
|
updateMask?: string;
|
|
972
972
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
973
973
|
upload_protocol?: string;
|
|
@@ -1184,7 +1184,7 @@ declare namespace gapi.client {
|
|
|
1184
1184
|
uploadType?: string;
|
|
1185
1185
|
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1186
1186
|
validateOnly?: boolean;
|
|
1187
|
-
/** Required. ID to use for the
|
|
1187
|
+
/** Required. ID to use for the workstation configuration. */
|
|
1188
1188
|
workstationConfigId?: string;
|
|
1189
1189
|
/** Request body */
|
|
1190
1190
|
resource: WorkstationConfig;
|
|
@@ -1216,7 +1216,7 @@ declare namespace gapi.client {
|
|
|
1216
1216
|
uploadType?: string;
|
|
1217
1217
|
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1218
1218
|
validateOnly?: boolean;
|
|
1219
|
-
/** Required. ID to use for the
|
|
1219
|
+
/** Required. ID to use for the workstation configuration. */
|
|
1220
1220
|
workstationConfigId?: string;
|
|
1221
1221
|
},
|
|
1222
1222
|
body: WorkstationConfig): Request<Operation>;
|
|
@@ -1230,15 +1230,15 @@ declare namespace gapi.client {
|
|
|
1230
1230
|
alt?: string;
|
|
1231
1231
|
/** JSONP */
|
|
1232
1232
|
callback?: string;
|
|
1233
|
-
/** If set, the request
|
|
1233
|
+
/** If set, the request is rejected if the latest version of the workstation configuration on the server does not have this etag. */
|
|
1234
1234
|
etag?: string;
|
|
1235
1235
|
/** Selector specifying which fields to include in a partial response. */
|
|
1236
1236
|
fields?: string;
|
|
1237
|
-
/** If set, any
|
|
1237
|
+
/** If set, any workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no workstations. */
|
|
1238
1238
|
force?: boolean;
|
|
1239
1239
|
/** 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. */
|
|
1240
1240
|
key?: string;
|
|
1241
|
-
/** Required. Name of the
|
|
1241
|
+
/** Required. Name of the workstation configuration to delete. */
|
|
1242
1242
|
name: string;
|
|
1243
1243
|
/** OAuth 2.0 token for the current user. */
|
|
1244
1244
|
oauth_token?: string;
|
|
@@ -1386,7 +1386,7 @@ declare namespace gapi.client {
|
|
|
1386
1386
|
"$.xgafv"?: string;
|
|
1387
1387
|
/** OAuth access token. */
|
|
1388
1388
|
access_token?: string;
|
|
1389
|
-
/** If set
|
|
1389
|
+
/** If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
1390
1390
|
allowMissing?: boolean;
|
|
1391
1391
|
/** Data format for response. */
|
|
1392
1392
|
alt?: string;
|
|
@@ -1404,7 +1404,7 @@ declare namespace gapi.client {
|
|
|
1404
1404
|
prettyPrint?: boolean;
|
|
1405
1405
|
/** 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. */
|
|
1406
1406
|
quotaUser?: string;
|
|
1407
|
-
/** Required. Mask specifying which fields in the
|
|
1407
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
1408
1408
|
updateMask?: string;
|
|
1409
1409
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1410
1410
|
upload_protocol?: string;
|
|
@@ -1420,7 +1420,7 @@ declare namespace gapi.client {
|
|
|
1420
1420
|
"$.xgafv"?: string;
|
|
1421
1421
|
/** OAuth access token. */
|
|
1422
1422
|
access_token?: string;
|
|
1423
|
-
/** If set
|
|
1423
|
+
/** If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
1424
1424
|
allowMissing?: boolean;
|
|
1425
1425
|
/** Data format for response. */
|
|
1426
1426
|
alt?: string;
|
|
@@ -1438,7 +1438,7 @@ declare namespace gapi.client {
|
|
|
1438
1438
|
prettyPrint?: boolean;
|
|
1439
1439
|
/** 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. */
|
|
1440
1440
|
quotaUser?: string;
|
|
1441
|
-
/** Required. Mask specifying which fields in the
|
|
1441
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
1442
1442
|
updateMask?: string;
|
|
1443
1443
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1444
1444
|
upload_protocol?: string;
|
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: 20230412
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -460,13 +460,13 @@ gapi.load('client', async () => {
|
|
|
460
460
|
"options.requestedPolicyVersion": 42,
|
|
461
461
|
resource: "Test string",
|
|
462
462
|
});
|
|
463
|
-
/** Returns all Workstations using the specified
|
|
463
|
+
/** Returns all Workstations using the specified workstation configuration. */
|
|
464
464
|
await gapi.client.workstations.projects.locations.workstationClusters.workstationConfigs.workstations.list({
|
|
465
465
|
pageSize: 42,
|
|
466
466
|
pageToken: "Test string",
|
|
467
467
|
parent: "Test string",
|
|
468
468
|
});
|
|
469
|
-
/** Returns all
|
|
469
|
+
/** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */
|
|
470
470
|
await gapi.client.workstations.projects.locations.workstationClusters.workstationConfigs.workstations.listUsable({
|
|
471
471
|
pageSize: 42,
|
|
472
472
|
pageToken: "Test string",
|