@maxim_mazurok/gapi.client.workstations-v1 0.0.20241202 → 0.0.20250101
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 +20 -2
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250101
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -57,7 +57,7 @@ declare namespace gapi.client {
|
|
|
57
57
|
bootDiskSizeGb?: number;
|
|
58
58
|
/** Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost configuration. Defaults to false. 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. */
|
|
59
59
|
enableNestedVirtualization?: boolean;
|
|
60
|
-
/** Required. The
|
|
60
|
+
/** Required. The ID to be used for the boost configuration. */
|
|
61
61
|
id?: string;
|
|
62
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
63
|
machineType?: string;
|
|
@@ -141,6 +141,14 @@ declare namespace gapi.client {
|
|
|
141
141
|
/** Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as [resource manager tags](https://cloud.google.com/resource-manager/docs/tags/tags-overview). Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. */
|
|
142
142
|
vmTags?: {[P in string]: string};
|
|
143
143
|
}
|
|
144
|
+
interface GceInstanceHost {
|
|
145
|
+
/** Optional. Output only. The ID of the Compute Engine instance. */
|
|
146
|
+
id?: string;
|
|
147
|
+
/** Optional. Output only. The name of the Compute Engine instance. */
|
|
148
|
+
name?: string;
|
|
149
|
+
/** Optional. Output only. The zone of the Compute Engine instance. */
|
|
150
|
+
zone?: string;
|
|
151
|
+
}
|
|
144
152
|
interface GcePersistentDisk {
|
|
145
153
|
/** Optional. Type of the disk to use. Defaults to `"pd-standard"`. */
|
|
146
154
|
diskType?: string;
|
|
@@ -320,6 +328,10 @@ declare namespace gapi.client {
|
|
|
320
328
|
/** Optional. Port to which the request should be sent. */
|
|
321
329
|
port?: number;
|
|
322
330
|
}
|
|
331
|
+
interface RuntimeHost {
|
|
332
|
+
/** Specifies a Compute Engine instance as the host. */
|
|
333
|
+
gceInstanceHost?: GceInstanceHost;
|
|
334
|
+
}
|
|
323
335
|
interface SetIamPolicyRequest {
|
|
324
336
|
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
325
337
|
policy?: Policy;
|
|
@@ -327,6 +339,8 @@ declare namespace gapi.client {
|
|
|
327
339
|
updateMask?: string;
|
|
328
340
|
}
|
|
329
341
|
interface StartWorkstationRequest {
|
|
342
|
+
/** Optional. If set, the workstation starts using the boost configuration with the specified ID. */
|
|
343
|
+
boostConfig?: string;
|
|
330
344
|
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
331
345
|
etag?: string;
|
|
332
346
|
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
@@ -377,6 +391,10 @@ declare namespace gapi.client {
|
|
|
377
391
|
name?: string;
|
|
378
392
|
/** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
|
|
379
393
|
reconciling?: boolean;
|
|
394
|
+
/** Optional. Output only. Runtime host for the workstation when in STATE_RUNNING. */
|
|
395
|
+
runtimeHost?: RuntimeHost;
|
|
396
|
+
/** Optional. The source workstation from which this workstation's persistent directories were cloned on creation. */
|
|
397
|
+
sourceWorkstation?: string;
|
|
380
398
|
/** Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state. */
|
|
381
399
|
startTime?: string;
|
|
382
400
|
/** Output only. Current state of the workstation. */
|