@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20230717 → 0.0.20230802
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 +181 -154
- package/package.json +2 -2
- 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://workstations.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230802
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -23,10 +23,10 @@ declare namespace gapi.client {
|
|
|
23
23
|
|
|
24
24
|
namespace workstations {
|
|
25
25
|
interface Accelerator {
|
|
26
|
-
/** Number of accelerator cards exposed to the instance. */
|
|
26
|
+
/** Optional. Number of accelerator cards exposed to the instance. */
|
|
27
27
|
count?:
|
|
28
28
|
number;
|
|
29
|
-
/** Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100"
|
|
29
|
+
/** Optional. Type of accelerator resource to attach to the instance, for example, `"nvidia-tesla-p100"`. */
|
|
30
30
|
type?:
|
|
31
31
|
string;
|
|
32
32
|
}
|
|
@@ -83,33 +83,33 @@ declare namespace gapi.client {
|
|
|
83
83
|
interface CancelOperationRequest {
|
|
84
84
|
}
|
|
85
85
|
interface Container {
|
|
86
|
-
/** Arguments passed to the entrypoint. */
|
|
86
|
+
/** Optional. Arguments passed to the entrypoint. */
|
|
87
87
|
args?:
|
|
88
88
|
string[];
|
|
89
|
-
/** If set, overrides the default ENTRYPOINT specified by the image. */
|
|
89
|
+
/** Optional. If set, overrides the default ENTRYPOINT specified by the image. */
|
|
90
90
|
command?:
|
|
91
91
|
string[];
|
|
92
|
-
/** Environment variables passed to the container's entrypoint. */
|
|
92
|
+
/** Optional. Environment variables passed to the container's entrypoint. */
|
|
93
93
|
env?:
|
|
94
94
|
{ [P in string]: string };
|
|
95
95
|
/**
|
|
96
|
-
* A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured
|
|
96
|
+
* Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured
|
|
97
97
|
* images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container
|
|
98
98
|
* images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the
|
|
99
99
|
* workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
|
|
100
100
|
*/
|
|
101
101
|
image?:
|
|
102
102
|
string;
|
|
103
|
-
/** If set, overrides the USER specified in the image with the given uid. */
|
|
103
|
+
/** Optional. If set, overrides the USER specified in the image with the given uid. */
|
|
104
104
|
runAsUser?:
|
|
105
105
|
number;
|
|
106
|
-
/** If set, overrides the default DIR specified by the image. */
|
|
106
|
+
/** Optional. If set, overrides the default DIR specified by the image. */
|
|
107
107
|
workingDir?:
|
|
108
108
|
string;
|
|
109
109
|
}
|
|
110
110
|
interface CustomerEncryptionKey {
|
|
111
111
|
/**
|
|
112
|
-
* Immutable. The name of the Google Cloud KMS encryption key. For example, `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. The key must be in the same
|
|
112
|
+
* Immutable. The name of the Google Cloud KMS encryption key. For example, `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`. The key must be in the same
|
|
113
113
|
* region as the workstation configuration.
|
|
114
114
|
*/
|
|
115
115
|
kmsKey?:
|
|
@@ -137,89 +137,104 @@ declare namespace gapi.client {
|
|
|
137
137
|
string;
|
|
138
138
|
}
|
|
139
139
|
interface GceConfidentialInstanceConfig {
|
|
140
|
-
/** Whether the instance has confidential compute enabled. */
|
|
140
|
+
/** Optional. Whether the instance has confidential compute enabled. */
|
|
141
141
|
enableConfidentialCompute?:
|
|
142
142
|
boolean;
|
|
143
143
|
}
|
|
144
144
|
interface GceInstance {
|
|
145
|
-
/** A list of the type and count of accelerator cards attached to the instance. */
|
|
145
|
+
/** Optional. A list of the type and count of accelerator cards attached to the instance. */
|
|
146
146
|
accelerators?:
|
|
147
147
|
Accelerator[];
|
|
148
|
-
/** The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB. */
|
|
148
|
+
/** Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB. */
|
|
149
149
|
bootDiskSizeGb?:
|
|
150
150
|
number;
|
|
151
|
-
/** A set of Compute Engine Confidential VM instance options. */
|
|
151
|
+
/** Optional. A set of Compute Engine Confidential VM instance options. */
|
|
152
152
|
confidentialInstanceConfig?:
|
|
153
153
|
GceConfidentialInstanceConfig;
|
|
154
154
|
/**
|
|
155
|
-
* When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use
|
|
156
|
-
* Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for
|
|
157
|
-
* `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
|
|
155
|
+
* Optional. When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use
|
|
156
|
+
* Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for
|
|
157
|
+
* domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
|
|
158
158
|
*/
|
|
159
159
|
disablePublicIpAddresses?:
|
|
160
160
|
boolean;
|
|
161
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* Optional. Whether to enable nested virtualization on Cloud Workstations VMs created under this workstation configuration. Nested virtualization lets you run virtual machine (VM)
|
|
163
|
+
* instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same
|
|
164
|
+
* restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders,
|
|
165
|
+
* or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see
|
|
166
|
+
* the Compute Engine section, [Checking whether nested virtualization is
|
|
167
|
+
* allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs
|
|
168
|
+
* might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. *
|
|
169
|
+
* **Machine Type**: nested virtualization can only be enabled on workstation configurations that specify a machine_type in the N1 or N2 machine series. * **GPUs**: nested
|
|
170
|
+
* virtualization may not be enabled on workstation configurations with accelerators. * **Operating System**: Because [Container-Optimized
|
|
171
|
+
* OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) does not support nested virtualization, when nested virtualization is enabled, the underlying
|
|
172
|
+
* Compute Engine VM instances boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) image.
|
|
173
|
+
*/
|
|
162
174
|
enableNestedVirtualization?:
|
|
163
175
|
boolean;
|
|
164
176
|
/**
|
|
165
|
-
* The type of machine to use for VM instances—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of
|
|
166
|
-
* machine types](https://cloud.google.com/workstations/docs/available-machine-types).
|
|
177
|
+
* Optional. The type of machine to use for VM instances—for example, `"e2-standard-4"`. For more information about machine types that Cloud Workstations supports, see the list of
|
|
178
|
+
* [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
|
|
167
179
|
*/
|
|
168
180
|
machineType?:
|
|
169
181
|
string;
|
|
170
182
|
/** Output only. Number of instances currently available in the pool for faster workstation startup. */
|
|
171
183
|
pooledInstances?:
|
|
172
184
|
number;
|
|
173
|
-
/** The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API. */
|
|
185
|
+
/** Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API. */
|
|
174
186
|
poolSize?:
|
|
175
187
|
number;
|
|
176
188
|
/**
|
|
177
|
-
* The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has
|
|
178
|
-
* permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull
|
|
179
|
-
* as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the
|
|
180
|
-
* Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If
|
|
181
|
-
* provided by the Cloud Workstations service, and the image must be publicly accessible.
|
|
189
|
+
* Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has
|
|
190
|
+
* `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull
|
|
191
|
+
* the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the
|
|
192
|
+
* `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If
|
|
193
|
+
* not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.
|
|
182
194
|
*/
|
|
183
195
|
serviceAccount?:
|
|
184
196
|
string;
|
|
185
|
-
/** A set of Compute Engine Shielded instance options. */
|
|
197
|
+
/** Optional. A set of Compute Engine Shielded instance options. */
|
|
186
198
|
shieldedInstanceConfig?:
|
|
187
199
|
GceShieldedInstanceConfig;
|
|
188
200
|
/**
|
|
189
|
-
* Network tags to add to the Compute Engine
|
|
190
|
-
* created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
|
|
201
|
+
* Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to
|
|
202
|
+
* VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
|
|
191
203
|
*/
|
|
192
204
|
tags?:
|
|
193
205
|
string[];
|
|
194
206
|
}
|
|
195
207
|
interface GceRegionalPersistentDisk {
|
|
196
|
-
/** The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-types) for the home directory. Defaults to `pd-standard`. */
|
|
208
|
+
/** Optional. The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-types) for the home directory. Defaults to `"pd-standard"`. */
|
|
197
209
|
diskType?:
|
|
198
210
|
string;
|
|
199
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* Optional. Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if source_snapshot is set. Defaults to
|
|
213
|
+
* `"ext4"`.
|
|
214
|
+
*/
|
|
200
215
|
fsType?:
|
|
201
216
|
string;
|
|
202
|
-
/** Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
|
|
217
|
+
/** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
|
|
203
218
|
reclaimPolicy?:
|
|
204
219
|
string;
|
|
205
220
|
/**
|
|
206
|
-
* The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if
|
|
207
|
-
* `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the
|
|
221
|
+
* Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`,
|
|
222
|
+
* `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the disk_type must be `"pd-balanced"` or `"pd-ssd"`.
|
|
208
223
|
*/
|
|
209
224
|
sizeGb?:
|
|
210
225
|
number;
|
|
211
|
-
/** Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty. */
|
|
226
|
+
/** Optional. Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty. */
|
|
212
227
|
sourceSnapshot?:
|
|
213
228
|
string;
|
|
214
229
|
}
|
|
215
230
|
interface GceShieldedInstanceConfig {
|
|
216
|
-
/** Whether the instance has integrity monitoring enabled. */
|
|
231
|
+
/** Optional. Whether the instance has integrity monitoring enabled. */
|
|
217
232
|
enableIntegrityMonitoring?:
|
|
218
233
|
boolean;
|
|
219
|
-
/** Whether the instance has Secure Boot enabled. */
|
|
234
|
+
/** Optional. Whether the instance has Secure Boot enabled. */
|
|
220
235
|
enableSecureBoot?:
|
|
221
236
|
boolean;
|
|
222
|
-
/** Whether the instance has the vTPM enabled. */
|
|
237
|
+
/** Optional. Whether the instance has the vTPM enabled. */
|
|
223
238
|
enableVtpm?:
|
|
224
239
|
boolean;
|
|
225
240
|
}
|
|
@@ -306,10 +321,10 @@ declare namespace gapi.client {
|
|
|
306
321
|
WorkstationConfig[];
|
|
307
322
|
}
|
|
308
323
|
interface ListWorkstationsResponse {
|
|
309
|
-
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
324
|
+
/** Optional. Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
310
325
|
nextPageToken?:
|
|
311
326
|
string;
|
|
312
|
-
/** Unreachable resources. */
|
|
327
|
+
/** Optional. Unreachable resources. */
|
|
313
328
|
unreachable?:
|
|
314
329
|
string[];
|
|
315
330
|
/** The requested workstations. */
|
|
@@ -336,9 +351,9 @@ declare namespace gapi.client {
|
|
|
336
351
|
name?:
|
|
337
352
|
string;
|
|
338
353
|
/**
|
|
339
|
-
* The normal response of the operation
|
|
340
|
-
*
|
|
341
|
-
*
|
|
354
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
355
|
+
* 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 original
|
|
356
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
342
357
|
*/
|
|
343
358
|
response?:
|
|
344
359
|
{ [P in string]: any };
|
|
@@ -370,7 +385,7 @@ declare namespace gapi.client {
|
|
|
370
385
|
/** A PersistentDirectory backed by a Compute Engine persistent disk. */
|
|
371
386
|
gcePd?:
|
|
372
387
|
GceRegionalPersistentDisk;
|
|
373
|
-
/** Location of this directory in the running workstation. */
|
|
388
|
+
/** Optional. Location of this directory in the running workstation. */
|
|
374
389
|
mountPath?:
|
|
375
390
|
string;
|
|
376
391
|
}
|
|
@@ -408,14 +423,14 @@ declare namespace gapi.client {
|
|
|
408
423
|
}
|
|
409
424
|
interface PrivateClusterConfig {
|
|
410
425
|
/**
|
|
411
|
-
* Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if
|
|
412
|
-
* are allowed.
|
|
426
|
+
* Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if
|
|
427
|
+
* different) are allowed.
|
|
413
428
|
*/
|
|
414
429
|
allowedProjects?:
|
|
415
430
|
string[];
|
|
416
431
|
/**
|
|
417
|
-
* Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a
|
|
418
|
-
* mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
|
|
432
|
+
* Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a
|
|
433
|
+
* new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
|
|
419
434
|
*/
|
|
420
435
|
clusterHostname?:
|
|
421
436
|
string;
|
|
@@ -423,17 +438,17 @@ declare namespace gapi.client {
|
|
|
423
438
|
enablePrivateEndpoint?:
|
|
424
439
|
boolean;
|
|
425
440
|
/**
|
|
426
|
-
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the
|
|
427
|
-
* access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
|
|
441
|
+
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation
|
|
442
|
+
* cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
|
|
428
443
|
*/
|
|
429
444
|
serviceAttachmentUri?:
|
|
430
445
|
string;
|
|
431
446
|
}
|
|
432
447
|
interface ReadinessCheck {
|
|
433
|
-
/** Path to which the request should be sent. */
|
|
448
|
+
/** Optional. Path to which the request should be sent. */
|
|
434
449
|
path?:
|
|
435
450
|
string;
|
|
436
|
-
/** Port to which the request should be sent. */
|
|
451
|
+
/** Optional. Port to which the request should be sent. */
|
|
437
452
|
port?:
|
|
438
453
|
number;
|
|
439
454
|
}
|
|
@@ -452,10 +467,10 @@ declare namespace gapi.client {
|
|
|
452
467
|
string;
|
|
453
468
|
}
|
|
454
469
|
interface StartWorkstationRequest {
|
|
455
|
-
/** If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
470
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
456
471
|
etag?:
|
|
457
472
|
string;
|
|
458
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
473
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
459
474
|
validateOnly?:
|
|
460
475
|
boolean;
|
|
461
476
|
}
|
|
@@ -474,10 +489,10 @@ declare namespace gapi.client {
|
|
|
474
489
|
string;
|
|
475
490
|
}
|
|
476
491
|
interface StopWorkstationRequest {
|
|
477
|
-
/** If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
492
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
478
493
|
etag?:
|
|
479
494
|
string;
|
|
480
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
495
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
481
496
|
validateOnly?:
|
|
482
497
|
boolean;
|
|
483
498
|
}
|
|
@@ -495,22 +510,22 @@ declare namespace gapi.client {
|
|
|
495
510
|
string[];
|
|
496
511
|
}
|
|
497
512
|
interface Workstation {
|
|
498
|
-
/** Client-specified annotations. */
|
|
513
|
+
/** Optional. Client-specified annotations. */
|
|
499
514
|
annotations?:
|
|
500
515
|
{ [P in string]: string };
|
|
501
|
-
/** Output only. Time when this
|
|
516
|
+
/** Output only. Time when this workstation was created. */
|
|
502
517
|
createTime?:
|
|
503
518
|
string;
|
|
504
|
-
/** Output only. Time when this
|
|
519
|
+
/** Output only. Time when this workstation was soft-deleted. */
|
|
505
520
|
deleteTime?:
|
|
506
521
|
string;
|
|
507
|
-
/** Human-readable name for this
|
|
522
|
+
/** Optional. Human-readable name for this workstation. */
|
|
508
523
|
displayName?:
|
|
509
524
|
string;
|
|
510
|
-
/** Environment variables passed to the workstation container's entrypoint. */
|
|
525
|
+
/** Optional. Environment variables passed to the workstation container's entrypoint. */
|
|
511
526
|
env?:
|
|
512
527
|
{ [P in string]: string };
|
|
513
|
-
/** 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. */
|
|
528
|
+
/** Optional. 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. */
|
|
514
529
|
etag?:
|
|
515
530
|
string;
|
|
516
531
|
/**
|
|
@@ -519,103 +534,112 @@ declare namespace gapi.client {
|
|
|
519
534
|
*/
|
|
520
535
|
host?:
|
|
521
536
|
string;
|
|
522
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine
|
|
539
|
+
* resources.
|
|
540
|
+
*/
|
|
523
541
|
labels?:
|
|
524
542
|
{ [P in string]: string };
|
|
525
|
-
/** Full name of this
|
|
543
|
+
/** Full name of this workstation. */
|
|
526
544
|
name?:
|
|
527
545
|
string;
|
|
528
|
-
/** Output only. Indicates whether this
|
|
546
|
+
/** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
|
|
529
547
|
reconciling?:
|
|
530
548
|
boolean;
|
|
531
549
|
/** Output only. Current state of the workstation. */
|
|
532
550
|
state?:
|
|
533
551
|
string;
|
|
534
|
-
/** Output only. A system-assigned unique identifier for this
|
|
552
|
+
/** Output only. A system-assigned unique identifier for this workstation. */
|
|
535
553
|
uid?:
|
|
536
554
|
string;
|
|
537
|
-
/** Output only. Time when this
|
|
555
|
+
/** Output only. Time when this workstation was most recently updated. */
|
|
538
556
|
updateTime?:
|
|
539
557
|
string;
|
|
540
558
|
}
|
|
541
559
|
interface WorkstationCluster {
|
|
542
|
-
/** Client-specified annotations. */
|
|
560
|
+
/** Optional. Client-specified annotations. */
|
|
543
561
|
annotations?:
|
|
544
562
|
{ [P in string]: string };
|
|
545
|
-
/** Output only. Status conditions describing the current
|
|
563
|
+
/** Output only. Status conditions describing the workstation cluster's current state. */
|
|
546
564
|
conditions?:
|
|
547
565
|
Status[];
|
|
548
566
|
/**
|
|
549
|
-
* 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
|
|
550
|
-
* rules allow egress from the workstation VMs to this address.
|
|
567
|
+
* Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that
|
|
568
|
+
* your firewall rules allow egress from the workstation VMs to this address.
|
|
551
569
|
*/
|
|
552
570
|
controlPlaneIp?:
|
|
553
571
|
string;
|
|
554
|
-
/** Output only. Time when this
|
|
572
|
+
/** Output only. Time when this workstation cluster was created. */
|
|
555
573
|
createTime?:
|
|
556
574
|
string;
|
|
557
|
-
/** Output only. Whether this
|
|
575
|
+
/** Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions. */
|
|
558
576
|
degraded?:
|
|
559
577
|
boolean;
|
|
560
|
-
/** Output only. Time when this
|
|
578
|
+
/** Output only. Time when this workstation cluster was soft-deleted. */
|
|
561
579
|
deleteTime?:
|
|
562
580
|
string;
|
|
563
|
-
/** Human-readable name for this
|
|
581
|
+
/** Optional. Human-readable name for this workstation cluster. */
|
|
564
582
|
displayName?:
|
|
565
583
|
string;
|
|
566
|
-
/** 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. */
|
|
584
|
+
/** Optional. 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. */
|
|
567
585
|
etag?:
|
|
568
586
|
string;
|
|
569
|
-
/**
|
|
587
|
+
/**
|
|
588
|
+
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute
|
|
589
|
+
* Engine resources.
|
|
590
|
+
*/
|
|
570
591
|
labels?:
|
|
571
592
|
{ [P in string]: string };
|
|
572
|
-
/** Full name of this
|
|
593
|
+
/** Full name of this workstation cluster. */
|
|
573
594
|
name?:
|
|
574
595
|
string;
|
|
575
|
-
/** Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created. */
|
|
596
|
+
/** Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created. */
|
|
576
597
|
network?:
|
|
577
598
|
string;
|
|
578
|
-
/** Configuration for private cluster. */
|
|
599
|
+
/** Optional. Configuration for private workstation cluster. */
|
|
579
600
|
privateClusterConfig?:
|
|
580
601
|
PrivateClusterConfig;
|
|
581
|
-
/** Output only. Indicates whether this
|
|
602
|
+
/** Output only. Indicates whether this workstation cluster is currently being updated to match its intended state. */
|
|
582
603
|
reconciling?:
|
|
583
604
|
boolean;
|
|
584
|
-
/**
|
|
605
|
+
/**
|
|
606
|
+
* Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this
|
|
607
|
+
* workstation cluster.
|
|
608
|
+
*/
|
|
585
609
|
subnetwork?:
|
|
586
610
|
string;
|
|
587
|
-
/** Output only. A system-assigned unique identifier for this
|
|
611
|
+
/** Output only. A system-assigned unique identifier for this workstation cluster. */
|
|
588
612
|
uid?:
|
|
589
613
|
string;
|
|
590
|
-
/** Output only. Time when this
|
|
614
|
+
/** Output only. Time when this workstation cluster was most recently updated. */
|
|
591
615
|
updateTime?:
|
|
592
616
|
string;
|
|
593
617
|
}
|
|
594
618
|
interface WorkstationConfig {
|
|
595
|
-
/** Client-specified annotations. */
|
|
619
|
+
/** Optional. Client-specified annotations. */
|
|
596
620
|
annotations?:
|
|
597
621
|
{ [P in string]: string };
|
|
598
622
|
/** Output only. Status conditions describing the current resource state. */
|
|
599
623
|
conditions?:
|
|
600
624
|
Status[];
|
|
601
|
-
/** Container that runs upon startup for each workstation using this workstation configuration. */
|
|
625
|
+
/** Optional. Container that runs upon startup for each workstation using this workstation configuration. */
|
|
602
626
|
container?:
|
|
603
627
|
Container;
|
|
604
|
-
/** Output only. Time when this
|
|
628
|
+
/** Output only. Time when this workstation configuration was created. */
|
|
605
629
|
createTime?:
|
|
606
630
|
string;
|
|
607
|
-
/** Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the
|
|
631
|
+
/** Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the conditions field. */
|
|
608
632
|
degraded?:
|
|
609
633
|
boolean;
|
|
610
|
-
/** Output only. Time when this
|
|
634
|
+
/** Output only. Time when this workstation configuration was soft-deleted. */
|
|
611
635
|
deleteTime?:
|
|
612
636
|
string;
|
|
613
|
-
/** Human-readable name for this
|
|
637
|
+
/** Optional. Human-readable name for this workstation configuration. */
|
|
614
638
|
displayName?:
|
|
615
639
|
string;
|
|
616
640
|
/**
|
|
617
|
-
* 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
|
|
618
|
-
* Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
|
|
641
|
+
* Optional. 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
|
|
642
|
+
* project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging).
|
|
619
643
|
*/
|
|
620
644
|
enableAuditAgent?:
|
|
621
645
|
boolean;
|
|
@@ -628,51 +652,54 @@ declare namespace gapi.client {
|
|
|
628
652
|
*/
|
|
629
653
|
encryptionKey?:
|
|
630
654
|
CustomerEncryptionKey;
|
|
631
|
-
/** 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. */
|
|
655
|
+
/** Optional. 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. */
|
|
632
656
|
etag?:
|
|
633
657
|
string;
|
|
634
|
-
/** Runtime host for the workstation. */
|
|
658
|
+
/** Optional. Runtime host for the workstation. */
|
|
635
659
|
host?:
|
|
636
660
|
Host;
|
|
637
661
|
/**
|
|
638
|
-
* Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `0s` indicates that Cloud Workstations VMs created
|
|
639
|
-
* configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated
|
|
640
|
-
* seconds—for example, `7200s` (2 hours). The default is `1200s` (20 minutes).
|
|
662
|
+
* Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `"0s"` indicates that Cloud Workstations VMs created
|
|
663
|
+
* with this configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated
|
|
664
|
+
* by `s` for seconds—for example, `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
|
|
641
665
|
*/
|
|
642
666
|
idleTimeout?:
|
|
643
667
|
string;
|
|
644
|
-
/**
|
|
668
|
+
/**
|
|
669
|
+
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying
|
|
670
|
+
* Compute Engine resources.
|
|
671
|
+
*/
|
|
645
672
|
labels?:
|
|
646
673
|
{ [P in string]: string };
|
|
647
|
-
/** Full name of this
|
|
674
|
+
/** Full name of this workstation configuration. */
|
|
648
675
|
name?:
|
|
649
676
|
string;
|
|
650
|
-
/** Directories to persist across workstation sessions. */
|
|
677
|
+
/** Optional. Directories to persist across workstation sessions. */
|
|
651
678
|
persistentDirectories?:
|
|
652
679
|
PersistentDirectory[];
|
|
653
680
|
/**
|
|
654
|
-
* Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks
|
|
655
|
-
* status codes.
|
|
681
|
+
* Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks
|
|
682
|
+
* return 200 status codes.
|
|
656
683
|
*/
|
|
657
684
|
readinessChecks?:
|
|
658
685
|
ReadinessCheck[];
|
|
659
|
-
/** Output only. Indicates whether this
|
|
686
|
+
/** Output only. Indicates whether this workstation configuration is currently being updated to match its intended state. */
|
|
660
687
|
reconciling?:
|
|
661
688
|
boolean;
|
|
662
689
|
/**
|
|
663
|
-
* 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
|
|
664
|
-
* be applied upon restart. The
|
|
665
|
-
* time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `54000s` (15 hours). Defaults to `43200s` (12 hours).
|
|
666
|
-
* indicates that workstations using this configuration should never time out. If
|
|
667
|
-
* value of `0s` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur
|
|
668
|
-
* pick up security updates.
|
|
690
|
+
* 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
|
|
691
|
+
* 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
|
|
692
|
+
* specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours).
|
|
693
|
+
* A value of `"0s"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `"0s"` and less than `"86400s"` (24
|
|
694
|
+
* hours). Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur
|
|
695
|
+
* costs and will not pick up security updates.
|
|
669
696
|
*/
|
|
670
697
|
runningTimeout?:
|
|
671
698
|
string;
|
|
672
|
-
/** Output only. A system-assigned unique identifier for this
|
|
699
|
+
/** Output only. A system-assigned unique identifier for this workstation configuration. */
|
|
673
700
|
uid?:
|
|
674
701
|
string;
|
|
675
|
-
/** Output only. Time when this
|
|
702
|
+
/** Output only. Time when this workstation configuration was most recently updated. */
|
|
676
703
|
updateTime?:
|
|
677
704
|
string;
|
|
678
705
|
}
|
|
@@ -932,7 +959,7 @@ declare namespace gapi.client {
|
|
|
932
959
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
933
960
|
uploadType?:
|
|
934
961
|
string;
|
|
935
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
962
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
936
963
|
validateOnly?:
|
|
937
964
|
boolean;
|
|
938
965
|
/** Required. ID to use for the workstation. */
|
|
@@ -979,7 +1006,7 @@ declare namespace gapi.client {
|
|
|
979
1006
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
980
1007
|
uploadType?:
|
|
981
1008
|
string;
|
|
982
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1009
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
983
1010
|
validateOnly?:
|
|
984
1011
|
boolean;
|
|
985
1012
|
/** Required. ID to use for the workstation. */
|
|
@@ -1001,7 +1028,7 @@ declare namespace gapi.client {
|
|
|
1001
1028
|
/** JSONP */
|
|
1002
1029
|
callback?:
|
|
1003
1030
|
string;
|
|
1004
|
-
/** If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
1031
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
1005
1032
|
etag?:
|
|
1006
1033
|
string;
|
|
1007
1034
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1028,7 +1055,7 @@ declare namespace gapi.client {
|
|
|
1028
1055
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1029
1056
|
uploadType?:
|
|
1030
1057
|
string;
|
|
1031
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1058
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1032
1059
|
validateOnly?:
|
|
1033
1060
|
boolean;
|
|
1034
1061
|
}): Request<Operation>;
|
|
@@ -1226,10 +1253,10 @@ declare namespace gapi.client {
|
|
|
1226
1253
|
/** OAuth 2.0 token for the current user. */
|
|
1227
1254
|
oauth_token?:
|
|
1228
1255
|
string;
|
|
1229
|
-
/** Maximum number of items to return. */
|
|
1256
|
+
/** Optional. Maximum number of items to return. */
|
|
1230
1257
|
pageSize?:
|
|
1231
1258
|
number;
|
|
1232
|
-
/** next_page_token value returned from a previous List request, if any. */
|
|
1259
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1233
1260
|
pageToken?:
|
|
1234
1261
|
string;
|
|
1235
1262
|
/** Required. Parent resource name. */
|
|
@@ -1271,10 +1298,10 @@ declare namespace gapi.client {
|
|
|
1271
1298
|
/** OAuth 2.0 token for the current user. */
|
|
1272
1299
|
oauth_token?:
|
|
1273
1300
|
string;
|
|
1274
|
-
/** Maximum number of items to return. */
|
|
1301
|
+
/** Optional. Maximum number of items to return. */
|
|
1275
1302
|
pageSize?:
|
|
1276
1303
|
number;
|
|
1277
|
-
/** next_page_token value returned from a previous List request, if any. */
|
|
1304
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1278
1305
|
pageToken?:
|
|
1279
1306
|
string;
|
|
1280
1307
|
/** Required. Parent resource name. */
|
|
@@ -1301,7 +1328,7 @@ declare namespace gapi.client {
|
|
|
1301
1328
|
/** OAuth access token. */
|
|
1302
1329
|
access_token?:
|
|
1303
1330
|
string;
|
|
1304
|
-
/** If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
1331
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
1305
1332
|
allowMissing?:
|
|
1306
1333
|
boolean;
|
|
1307
1334
|
/** Data format for response. */
|
|
@@ -1316,7 +1343,7 @@ declare namespace gapi.client {
|
|
|
1316
1343
|
/** 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. */
|
|
1317
1344
|
key?:
|
|
1318
1345
|
string;
|
|
1319
|
-
/** Full name of this
|
|
1346
|
+
/** Full name of this workstation. */
|
|
1320
1347
|
name:
|
|
1321
1348
|
string;
|
|
1322
1349
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1337,7 +1364,7 @@ declare namespace gapi.client {
|
|
|
1337
1364
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1338
1365
|
uploadType?:
|
|
1339
1366
|
string;
|
|
1340
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1367
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1341
1368
|
validateOnly?:
|
|
1342
1369
|
boolean;
|
|
1343
1370
|
/** Request body */
|
|
@@ -1351,7 +1378,7 @@ declare namespace gapi.client {
|
|
|
1351
1378
|
/** OAuth access token. */
|
|
1352
1379
|
access_token?:
|
|
1353
1380
|
string;
|
|
1354
|
-
/** If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
1381
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
1355
1382
|
allowMissing?:
|
|
1356
1383
|
boolean;
|
|
1357
1384
|
/** Data format for response. */
|
|
@@ -1366,7 +1393,7 @@ declare namespace gapi.client {
|
|
|
1366
1393
|
/** 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. */
|
|
1367
1394
|
key?:
|
|
1368
1395
|
string;
|
|
1369
|
-
/** Full name of this
|
|
1396
|
+
/** Full name of this workstation. */
|
|
1370
1397
|
name:
|
|
1371
1398
|
string;
|
|
1372
1399
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -1387,7 +1414,7 @@ declare namespace gapi.client {
|
|
|
1387
1414
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1388
1415
|
uploadType?:
|
|
1389
1416
|
string;
|
|
1390
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1417
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1391
1418
|
validateOnly?:
|
|
1392
1419
|
boolean;
|
|
1393
1420
|
},
|
|
@@ -1683,7 +1710,7 @@ declare namespace gapi.client {
|
|
|
1683
1710
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1684
1711
|
uploadType?:
|
|
1685
1712
|
string;
|
|
1686
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1713
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1687
1714
|
validateOnly?:
|
|
1688
1715
|
boolean;
|
|
1689
1716
|
/** Required. ID to use for the workstation configuration. */
|
|
@@ -1730,7 +1757,7 @@ declare namespace gapi.client {
|
|
|
1730
1757
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1731
1758
|
uploadType?:
|
|
1732
1759
|
string;
|
|
1733
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1760
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1734
1761
|
validateOnly?:
|
|
1735
1762
|
boolean;
|
|
1736
1763
|
/** Required. ID to use for the workstation configuration. */
|
|
@@ -1752,13 +1779,13 @@ declare namespace gapi.client {
|
|
|
1752
1779
|
/** JSONP */
|
|
1753
1780
|
callback?:
|
|
1754
1781
|
string;
|
|
1755
|
-
/** If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag. */
|
|
1782
|
+
/** Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag. */
|
|
1756
1783
|
etag?:
|
|
1757
1784
|
string;
|
|
1758
1785
|
/** Selector specifying which fields to include in a partial response. */
|
|
1759
1786
|
fields?:
|
|
1760
1787
|
string;
|
|
1761
|
-
/** If set, any workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no workstations. */
|
|
1788
|
+
/** Optional. If set, any workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no workstations. */
|
|
1762
1789
|
force?:
|
|
1763
1790
|
boolean;
|
|
1764
1791
|
/** 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. */
|
|
@@ -1782,7 +1809,7 @@ declare namespace gapi.client {
|
|
|
1782
1809
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1783
1810
|
uploadType?:
|
|
1784
1811
|
string;
|
|
1785
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1812
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1786
1813
|
validateOnly?:
|
|
1787
1814
|
boolean;
|
|
1788
1815
|
}): Request<Operation>;
|
|
@@ -1899,10 +1926,10 @@ declare namespace gapi.client {
|
|
|
1899
1926
|
/** OAuth 2.0 token for the current user. */
|
|
1900
1927
|
oauth_token?:
|
|
1901
1928
|
string;
|
|
1902
|
-
/** Maximum number of items to return. */
|
|
1929
|
+
/** Optional. Maximum number of items to return. */
|
|
1903
1930
|
pageSize?:
|
|
1904
1931
|
number;
|
|
1905
|
-
/** next_page_token value returned from a previous List request, if any. */
|
|
1932
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1906
1933
|
pageToken?:
|
|
1907
1934
|
string;
|
|
1908
1935
|
/** Required. Parent resource name. */
|
|
@@ -1944,10 +1971,10 @@ declare namespace gapi.client {
|
|
|
1944
1971
|
/** OAuth 2.0 token for the current user. */
|
|
1945
1972
|
oauth_token?:
|
|
1946
1973
|
string;
|
|
1947
|
-
/** Maximum number of items to return. */
|
|
1974
|
+
/** Optional. Maximum number of items to return. */
|
|
1948
1975
|
pageSize?:
|
|
1949
1976
|
number;
|
|
1950
|
-
/** next_page_token value returned from a previous List request, if any. */
|
|
1977
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1951
1978
|
pageToken?:
|
|
1952
1979
|
string;
|
|
1953
1980
|
/** Required. Parent resource name. */
|
|
@@ -1974,7 +2001,7 @@ declare namespace gapi.client {
|
|
|
1974
2001
|
/** OAuth access token. */
|
|
1975
2002
|
access_token?:
|
|
1976
2003
|
string;
|
|
1977
|
-
/** If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
2004
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
1978
2005
|
allowMissing?:
|
|
1979
2006
|
boolean;
|
|
1980
2007
|
/** Data format for response. */
|
|
@@ -1989,7 +2016,7 @@ declare namespace gapi.client {
|
|
|
1989
2016
|
/** 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. */
|
|
1990
2017
|
key?:
|
|
1991
2018
|
string;
|
|
1992
|
-
/** Full name of this
|
|
2019
|
+
/** Full name of this workstation configuration. */
|
|
1993
2020
|
name:
|
|
1994
2021
|
string;
|
|
1995
2022
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2010,7 +2037,7 @@ declare namespace gapi.client {
|
|
|
2010
2037
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2011
2038
|
uploadType?:
|
|
2012
2039
|
string;
|
|
2013
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
2040
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2014
2041
|
validateOnly?:
|
|
2015
2042
|
boolean;
|
|
2016
2043
|
/** Request body */
|
|
@@ -2024,7 +2051,7 @@ declare namespace gapi.client {
|
|
|
2024
2051
|
/** OAuth access token. */
|
|
2025
2052
|
access_token?:
|
|
2026
2053
|
string;
|
|
2027
|
-
/** If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
2054
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
2028
2055
|
allowMissing?:
|
|
2029
2056
|
boolean;
|
|
2030
2057
|
/** Data format for response. */
|
|
@@ -2039,7 +2066,7 @@ declare namespace gapi.client {
|
|
|
2039
2066
|
/** 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. */
|
|
2040
2067
|
key?:
|
|
2041
2068
|
string;
|
|
2042
|
-
/** Full name of this
|
|
2069
|
+
/** Full name of this workstation configuration. */
|
|
2043
2070
|
name:
|
|
2044
2071
|
string;
|
|
2045
2072
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2060,7 +2087,7 @@ declare namespace gapi.client {
|
|
|
2060
2087
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2061
2088
|
uploadType?:
|
|
2062
2089
|
string;
|
|
2063
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
2090
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2064
2091
|
validateOnly?:
|
|
2065
2092
|
boolean;
|
|
2066
2093
|
},
|
|
@@ -2196,7 +2223,7 @@ declare namespace gapi.client {
|
|
|
2196
2223
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2197
2224
|
uploadType?:
|
|
2198
2225
|
string;
|
|
2199
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
2226
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2200
2227
|
validateOnly?:
|
|
2201
2228
|
boolean;
|
|
2202
2229
|
/** Required. ID to use for the workstation cluster. */
|
|
@@ -2243,7 +2270,7 @@ declare namespace gapi.client {
|
|
|
2243
2270
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2244
2271
|
uploadType?:
|
|
2245
2272
|
string;
|
|
2246
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
2273
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2247
2274
|
validateOnly?:
|
|
2248
2275
|
boolean;
|
|
2249
2276
|
/** Required. ID to use for the workstation cluster. */
|
|
@@ -2265,15 +2292,15 @@ declare namespace gapi.client {
|
|
|
2265
2292
|
/** JSONP */
|
|
2266
2293
|
callback?:
|
|
2267
2294
|
string;
|
|
2268
|
-
/** If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. */
|
|
2295
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. */
|
|
2269
2296
|
etag?:
|
|
2270
2297
|
string;
|
|
2271
2298
|
/** Selector specifying which fields to include in a partial response. */
|
|
2272
2299
|
fields?:
|
|
2273
2300
|
string;
|
|
2274
2301
|
/**
|
|
2275
|
-
* If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has
|
|
2276
|
-
* configurations or workstations.
|
|
2302
|
+
* Optional. If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has
|
|
2303
|
+
* no configurations or workstations.
|
|
2277
2304
|
*/
|
|
2278
2305
|
force?:
|
|
2279
2306
|
boolean;
|
|
@@ -2298,7 +2325,7 @@ declare namespace gapi.client {
|
|
|
2298
2325
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2299
2326
|
uploadType?:
|
|
2300
2327
|
string;
|
|
2301
|
-
/** If set, validate the request and preview the review, but do not apply it. */
|
|
2328
|
+
/** Optional. If set, validate the request and preview the review, but do not apply it. */
|
|
2302
2329
|
validateOnly?:
|
|
2303
2330
|
boolean;
|
|
2304
2331
|
}): Request<Operation>;
|
|
@@ -2364,10 +2391,10 @@ declare namespace gapi.client {
|
|
|
2364
2391
|
/** OAuth 2.0 token for the current user. */
|
|
2365
2392
|
oauth_token?:
|
|
2366
2393
|
string;
|
|
2367
|
-
/** Maximum number of items to return. */
|
|
2394
|
+
/** Optional. Maximum number of items to return. */
|
|
2368
2395
|
pageSize?:
|
|
2369
2396
|
number;
|
|
2370
|
-
/** next_page_token value returned from a previous List request, if any. */
|
|
2397
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
2371
2398
|
pageToken?:
|
|
2372
2399
|
string;
|
|
2373
2400
|
/** Required. Parent resource name. */
|
|
@@ -2394,7 +2421,7 @@ declare namespace gapi.client {
|
|
|
2394
2421
|
/** OAuth access token. */
|
|
2395
2422
|
access_token?:
|
|
2396
2423
|
string;
|
|
2397
|
-
/** If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
|
|
2424
|
+
/** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
|
|
2398
2425
|
allowMissing?:
|
|
2399
2426
|
boolean;
|
|
2400
2427
|
/** Data format for response. */
|
|
@@ -2409,7 +2436,7 @@ declare namespace gapi.client {
|
|
|
2409
2436
|
/** 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. */
|
|
2410
2437
|
key?:
|
|
2411
2438
|
string;
|
|
2412
|
-
/** Full name of this
|
|
2439
|
+
/** Full name of this workstation cluster. */
|
|
2413
2440
|
name:
|
|
2414
2441
|
string;
|
|
2415
2442
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2430,7 +2457,7 @@ declare namespace gapi.client {
|
|
|
2430
2457
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2431
2458
|
uploadType?:
|
|
2432
2459
|
string;
|
|
2433
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
2460
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2434
2461
|
validateOnly?:
|
|
2435
2462
|
boolean;
|
|
2436
2463
|
/** Request body */
|
|
@@ -2444,7 +2471,7 @@ declare namespace gapi.client {
|
|
|
2444
2471
|
/** OAuth access token. */
|
|
2445
2472
|
access_token?:
|
|
2446
2473
|
string;
|
|
2447
|
-
/** If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
|
|
2474
|
+
/** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
|
|
2448
2475
|
allowMissing?:
|
|
2449
2476
|
boolean;
|
|
2450
2477
|
/** Data format for response. */
|
|
@@ -2459,7 +2486,7 @@ declare namespace gapi.client {
|
|
|
2459
2486
|
/** 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. */
|
|
2460
2487
|
key?:
|
|
2461
2488
|
string;
|
|
2462
|
-
/** Full name of this
|
|
2489
|
+
/** Full name of this workstation cluster. */
|
|
2463
2490
|
name:
|
|
2464
2491
|
string;
|
|
2465
2492
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2480,7 +2507,7 @@ declare namespace gapi.client {
|
|
|
2480
2507
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2481
2508
|
uploadType?:
|
|
2482
2509
|
string;
|
|
2483
|
-
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
2510
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2484
2511
|
validateOnly?:
|
|
2485
2512
|
boolean;
|
|
2486
2513
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.workstations-v1beta",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230802",
|
|
4
4
|
"description": "TypeScript typings for Cloud Workstations API v1beta",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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: 20230802
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|