@maxim_mazurok/gapi.client.workstations-v1beta 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.
Files changed (2) hide show
  1. package/index.d.ts +18 -2
  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=v1beta
12
- // Revision: 20241202
12
+ // Revision: 20250101
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -61,7 +61,7 @@ declare namespace gapi.client {
61
61
  bootDiskSizeGb?: number;
62
62
  /** 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. */
63
63
  enableNestedVirtualization?: boolean;
64
- /** Required. The id to be used for the boost configuration. */
64
+ /** Required. The ID to be used for the boost configuration. */
65
65
  id?: string;
66
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`. */
67
67
  machineType?: string;
@@ -145,6 +145,14 @@ declare namespace gapi.client {
145
145
  /** 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`. */
146
146
  vmTags?: {[P in string]: string};
147
147
  }
148
+ interface GceInstanceHost {
149
+ /** Optional. Output only. The ID of the Compute Engine instance. */
150
+ id?: string;
151
+ /** Optional. Output only. The name of the Compute Engine instance. */
152
+ name?: string;
153
+ /** Optional. Output only. The zone of the Compute Engine instance. */
154
+ zone?: string;
155
+ }
148
156
  interface GcePersistentDisk {
149
157
  /** Optional. Type of the disk to use. Defaults to `"pd-standard"`. */
150
158
  diskType?: string;
@@ -197,6 +205,8 @@ declare namespace gapi.client {
197
205
  interface HttpOptions {
198
206
  /** Optional. By default, the workstations service makes sure that all requests to the workstation are authenticated. CORS preflight requests do not include cookies or custom headers, and so are considered unauthenticated and blocked by the workstations service. Enabling this option allows these unauthenticated CORS preflight requests through to the workstation, where it becomes the responsibility of the destination server in the workstation to validate the request. */
199
207
  allowedUnauthenticatedCorsPreflightRequests?: boolean;
208
+ /** Optional. By default, the workstations service replaces references to localhost, 127.0.0.1, and 0.0.0.0 with the workstation's hostname in http responses from the workstation so that applications under development run properly on the workstation. This may intefere with some applications, and so this option allows that behavior to be disabled. */
209
+ disableLocalhostReplacement?: boolean;
200
210
  }
201
211
  interface ListOperationsResponse {
202
212
  /** The standard List next-page token. */
@@ -310,6 +320,10 @@ declare namespace gapi.client {
310
320
  /** Optional. Port to which the request should be sent. */
311
321
  port?: number;
312
322
  }
323
+ interface RuntimeHost {
324
+ /** Specifies a Compute Engine instance as the host. */
325
+ gceInstanceHost?: GceInstanceHost;
326
+ }
313
327
  interface SetIamPolicyRequest {
314
328
  /** 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. */
315
329
  policy?: Policy;
@@ -371,6 +385,8 @@ declare namespace gapi.client {
371
385
  name?: string;
372
386
  /** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
373
387
  reconciling?: boolean;
388
+ /** Optional. Output only. Runtime host for the workstation when in STATE_RUNNING. */
389
+ runtimeHost?: RuntimeHost;
374
390
  /** Output only. Reserved for future use. */
375
391
  satisfiesPzi?: boolean;
376
392
  /** Output only. Reserved for future use. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workstations-v1beta",
3
- "version": "0.0.20241202",
3
+ "version": "0.0.20250101",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1beta",
5
5
  "repository": {
6
6
  "type": "git",