@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20240131 → 0.0.20240301
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 +17 -3
- package/package.json +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: 20240301
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -54,6 +54,16 @@ declare namespace gapi.client {
|
|
|
54
54
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
55
55
|
role?: string;
|
|
56
56
|
}
|
|
57
|
+
interface BoostConfig {
|
|
58
|
+
/** Optional. A list of the type and count of accelerator cards attached to the boost instance. Defaults to `none`. */
|
|
59
|
+
accelerators?: Accelerator[];
|
|
60
|
+
/** Optional. Required. The id to be used for the boost config. */
|
|
61
|
+
id?: string;
|
|
62
|
+
/** Optional. The type of machine that boosted VM instances will use—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types). Defaults to `e2-standard-4`. */
|
|
63
|
+
machineType?: string;
|
|
64
|
+
/** Optional. The number of boost VMs that the system should keep idle so that workstations can be boosted quickly. Defaults to `0`. */
|
|
65
|
+
poolSize?: number;
|
|
66
|
+
}
|
|
57
67
|
interface CancelOperationRequest {}
|
|
58
68
|
interface Container {
|
|
59
69
|
/** Optional. Arguments passed to the entrypoint. */
|
|
@@ -102,6 +112,8 @@ declare namespace gapi.client {
|
|
|
102
112
|
interface GceInstance {
|
|
103
113
|
/** Optional. A list of the type and count of accelerator cards attached to the instance. */
|
|
104
114
|
accelerators?: Accelerator[];
|
|
115
|
+
/** Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. */
|
|
116
|
+
boostConfigs?: BoostConfig[];
|
|
105
117
|
/** 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. */
|
|
106
118
|
bootDiskSizeGb?: number;
|
|
107
119
|
/** Optional. A set of Compute Engine Confidential VM instance options. */
|
|
@@ -110,7 +122,7 @@ declare namespace gapi.client {
|
|
|
110
122
|
disablePublicIpAddresses?: boolean;
|
|
111
123
|
/** Optional. Whether to disable SSH access to the VM. */
|
|
112
124
|
disableSsh?: boolean;
|
|
113
|
-
/** Optional. Whether to enable nested virtualization on Cloud Workstations VMs created
|
|
125
|
+
/** Optional. Whether to enable nested virtualization on Cloud Workstations VMs created using this workstation configuration. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, 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 the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs 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. * **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 virtualization may not be enabled on workstation configurations with accelerators. * **Operating System**: Because [Container-Optimized 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 Compute Engine VM instances boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) image. */
|
|
114
126
|
enableNestedVirtualization?: boolean;
|
|
115
127
|
/** 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 [available machine types](https://cloud.google.com/workstations/docs/available-machine-types). */
|
|
116
128
|
machineType?: string;
|
|
@@ -287,6 +299,8 @@ declare namespace gapi.client {
|
|
|
287
299
|
updateMask?: string;
|
|
288
300
|
}
|
|
289
301
|
interface StartWorkstationRequest {
|
|
302
|
+
/** Optional. If set, the workstation starts using the boost configuration with the specified ID. */
|
|
303
|
+
boostConfig?: string;
|
|
290
304
|
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
291
305
|
etag?: string;
|
|
292
306
|
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
@@ -395,7 +409,7 @@ declare namespace gapi.client {
|
|
|
395
409
|
degraded?: boolean;
|
|
396
410
|
/** Output only. Time when this workstation configuration was soft-deleted. */
|
|
397
411
|
deleteTime?: string;
|
|
398
|
-
/** Optional. Disables support for plain TCP connections in the workstation. By default the service supports TCP connections
|
|
412
|
+
/** Optional. Disables support for plain TCP connections in the workstation. By default the service supports TCP connections through a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain TCP connections, such as SSH. When enabled, all communication must occur over HTTPS or WSS. */
|
|
399
413
|
disableTcpConnections?: boolean;
|
|
400
414
|
/** Optional. Human-readable name for this workstation configuration. */
|
|
401
415
|
displayName?: string;
|