@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20240508 → 0.0.20240528
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 +10 -8
- 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: 20240528
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -57,6 +57,10 @@ declare namespace gapi.client {
|
|
|
57
57
|
interface BoostConfig {
|
|
58
58
|
/** Optional. A list of the type and count of accelerator cards attached to the boost instance. Defaults to `none`. */
|
|
59
59
|
accelerators?: Accelerator[];
|
|
60
|
+
/** 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. */
|
|
61
|
+
bootDiskSizeGb?: number;
|
|
62
|
+
/** Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost 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 boost configurations that specify a machine_type in the N1 or N2 machine series. * **GPUs**: nested virtualization may not be enabled on boost 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. Defaults to false. */
|
|
63
|
+
enableNestedVirtualization?: boolean;
|
|
60
64
|
/** Optional. Required. The id to be used for the boost config. */
|
|
61
65
|
id?: string;
|
|
62
66
|
/** 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`. */
|
|
@@ -86,7 +90,7 @@ declare namespace gapi.client {
|
|
|
86
90
|
kmsKeyServiceAccount?: string;
|
|
87
91
|
}
|
|
88
92
|
interface DomainConfig {
|
|
89
|
-
/** Immutable.
|
|
93
|
+
/** Immutable. Whether Workstations endpoint is private. */
|
|
90
94
|
domain?: string;
|
|
91
95
|
}
|
|
92
96
|
interface EphemeralDirectory {
|
|
@@ -122,7 +126,7 @@ declare namespace gapi.client {
|
|
|
122
126
|
disablePublicIpAddresses?: boolean;
|
|
123
127
|
/** Optional. Whether to disable SSH access to the VM. */
|
|
124
128
|
disableSsh?: boolean;
|
|
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**:
|
|
129
|
+
/** 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. */
|
|
126
130
|
enableNestedVirtualization?: boolean;
|
|
127
131
|
/** 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). */
|
|
128
132
|
machineType?: string;
|
|
@@ -174,6 +178,8 @@ declare namespace gapi.client {
|
|
|
174
178
|
interface GenerateAccessTokenRequest {
|
|
175
179
|
/** Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future. */
|
|
176
180
|
expireTime?: string;
|
|
181
|
+
/** Optional. Port for which the access token should be generated. If specified, the generated access token grants access only to the specified port of the workstation. If specified, values must be within the range [1 - 65535]. If not specified, the generated access token grants access to all ports of the workstation. */
|
|
182
|
+
port?: number;
|
|
177
183
|
/** Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour. */
|
|
178
184
|
ttl?: string;
|
|
179
185
|
}
|
|
@@ -285,13 +291,9 @@ declare namespace gapi.client {
|
|
|
285
291
|
last?: number;
|
|
286
292
|
}
|
|
287
293
|
interface PrivateClusterConfig {
|
|
288
|
-
/** 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 different) are allowed. */
|
|
289
294
|
allowedProjects?: string[];
|
|
290
|
-
/** 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 new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment. */
|
|
291
295
|
clusterHostname?: string;
|
|
292
|
-
/** Immutable. Whether Workstations endpoint is private. */
|
|
293
296
|
enablePrivateEndpoint?: boolean;
|
|
294
|
-
/** 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 cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). */
|
|
295
297
|
serviceAttachmentUri?: string;
|
|
296
298
|
}
|
|
297
299
|
interface ReadinessCheck {
|
|
@@ -405,7 +407,7 @@ declare namespace gapi.client {
|
|
|
405
407
|
updateTime?: string;
|
|
406
408
|
}
|
|
407
409
|
interface WorkstationConfig {
|
|
408
|
-
/** Optional. Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535. */
|
|
410
|
+
/** Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535. */
|
|
409
411
|
allowedPorts?: PortRange[];
|
|
410
412
|
/** Optional. Client-specified annotations. */
|
|
411
413
|
annotations?: {[P in string]: string};
|