@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20240619 → 0.0.20240716

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 +27 -5
  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: 20240619
12
+ // Revision: 20240716
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -59,7 +59,7 @@ declare namespace gapi.client {
59
59
  accelerators?: Accelerator[];
60
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
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. */
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
64
  /** Optional. Required. The id to be used for the boost config. */
65
65
  id?: string;
@@ -90,7 +90,7 @@ declare namespace gapi.client {
90
90
  kmsKeyServiceAccount?: string;
91
91
  }
92
92
  interface DomainConfig {
93
- /** Immutable. Whether Workstations endpoint is private. */
93
+ /** Immutable. Domain used by Workstations for HTTP ingress. */
94
94
  domain?: string;
95
95
  }
96
96
  interface EphemeralDirectory {
@@ -126,7 +126,7 @@ declare namespace gapi.client {
126
126
  disablePublicIpAddresses?: boolean;
127
127
  /** Optional. Whether to disable SSH access to the VM. */
128
128
  disableSsh?: boolean;
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. */
129
+ /** Optional. Whether to enable nested virtualization on Cloud Workstations VMs created using this workstation 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 workstation configurations that specify a machine_type in the N1 or N2 machine series. */
130
130
  enableNestedVirtualization?: boolean;
131
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). */
132
132
  machineType?: string;
@@ -295,9 +295,13 @@ declare namespace gapi.client {
295
295
  last?: number;
296
296
  }
297
297
  interface PrivateClusterConfig {
298
+ /** 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. */
298
299
  allowedProjects?: string[];
300
+ /** 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. */
299
301
  clusterHostname?: string;
302
+ /** Immutable. Whether Workstations endpoint is private. */
300
303
  enablePrivateEndpoint?: boolean;
304
+ /** 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). */
301
305
  serviceAttachmentUri?: string;
302
306
  }
303
307
  interface ReadinessCheck {
@@ -345,6 +349,8 @@ declare namespace gapi.client {
345
349
  interface Workstation {
346
350
  /** Optional. Client-specified annotations. */
347
351
  annotations?: {[P in string]: string};
352
+ /** Output only. List of available boost configuration ids that this workstation can be boosted up to */
353
+ boostConfigs?: WorkstationBoostConfig[];
348
354
  /** Output only. Time when this workstation was created. */
349
355
  createTime?: string;
350
356
  /** Output only. Time when this workstation was soft-deleted. */
@@ -365,6 +371,10 @@ declare namespace gapi.client {
365
371
  name?: string;
366
372
  /** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
367
373
  reconciling?: boolean;
374
+ /** Output only. Reserved for future use. */
375
+ satisfiesPzi?: boolean;
376
+ /** Output only. Reserved for future use. */
377
+ satisfiesPzs?: boolean;
368
378
  /** Optional. The source workstation from which this workstations persistent directories were cloned on creation. */
369
379
  sourceWorkstation?: string;
370
380
  /** Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state. */
@@ -376,6 +386,10 @@ declare namespace gapi.client {
376
386
  /** Output only. Time when this workstation was most recently updated. */
377
387
  updateTime?: string;
378
388
  }
389
+ interface WorkstationBoostConfig {
390
+ /** Output only. Boost config id. */
391
+ id?: string;
392
+ }
379
393
  interface WorkstationCluster {
380
394
  /** Optional. Client-specified annotations. */
381
395
  annotations?: {[P in string]: string};
@@ -405,6 +419,10 @@ declare namespace gapi.client {
405
419
  privateClusterConfig?: PrivateClusterConfig;
406
420
  /** Output only. Indicates whether this workstation cluster is currently being updated to match its intended state. */
407
421
  reconciling?: boolean;
422
+ /** Output only. Reserved for future use. */
423
+ satisfiesPzi?: boolean;
424
+ /** Output only. Reserved for future use. */
425
+ satisfiesPzs?: boolean;
408
426
  /** 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 workstation cluster. */
409
427
  subnetwork?: string;
410
428
  /** Output only. A system-assigned unique identifier for this workstation cluster. */
@@ -431,7 +449,7 @@ declare namespace gapi.client {
431
449
  disableTcpConnections?: boolean;
432
450
  /** Optional. Human-readable name for this workstation configuration. */
433
451
  displayName?: string;
434
- /** 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 project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging). */
452
+ /** Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](http://cloud/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type="gce_instance" log_name:"/logs/linux-auditd" */
435
453
  enableAuditAgent?: boolean;
436
454
  /** Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created. */
437
455
  encryptionKey?: CustomerEncryptionKey;
@@ -459,6 +477,10 @@ declare namespace gapi.client {
459
477
  replicaZones?: string[];
460
478
  /** 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 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 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). 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 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 costs and will not pick up security updates. */
461
479
  runningTimeout?: string;
480
+ /** Output only. Reserved for future use. */
481
+ satisfiesPzi?: boolean;
482
+ /** Output only. Reserved for future use. */
483
+ satisfiesPzs?: boolean;
462
484
  /** Output only. A system-assigned unique identifier for this workstation configuration. */
463
485
  uid?: string;
464
486
  /** Output only. Time when this workstation configuration was most recently updated. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workstations-v1beta",
3
- "version": "0.0.20240619",
3
+ "version": "0.0.20240716",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1beta",
5
5
  "repository": {
6
6
  "type": "git",