@maxim_mazurok/gapi.client.workstations-v1 0.0.20240221 → 0.0.20240318
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 +27 -1
- 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: 20240318
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,6 +24,12 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(name: 'workstations', version: 'v1', callback: () => any): void;
|
|
25
25
|
|
|
26
26
|
namespace workstations {
|
|
27
|
+
interface Accelerator {
|
|
28
|
+
/** Optional. Number of accelerator cards exposed to the instance. */
|
|
29
|
+
count?: number;
|
|
30
|
+
/** Optional. Type of accelerator resource to attach to the instance, for example, `"nvidia-tesla-p100"`. */
|
|
31
|
+
type?: string;
|
|
32
|
+
}
|
|
27
33
|
interface AuditConfig {
|
|
28
34
|
/** The configuration for logging of each type of permission. */
|
|
29
35
|
auditLogConfigs?: AuditLogConfig[];
|
|
@@ -69,6 +75,12 @@ declare namespace gapi.client {
|
|
|
69
75
|
/** Immutable. Domain used by Workstations for HTTP ingress. */
|
|
70
76
|
domain?: string;
|
|
71
77
|
}
|
|
78
|
+
interface EphemeralDirectory {
|
|
79
|
+
/** An EphemeralDirectory backed by a Compute Engine persistent disk. */
|
|
80
|
+
gcePd?: GcePersistentDisk;
|
|
81
|
+
/** Required. Location of this directory in the running workstation. */
|
|
82
|
+
mountPath?: string;
|
|
83
|
+
}
|
|
72
84
|
interface Expr {
|
|
73
85
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
74
86
|
description?: string;
|
|
@@ -84,6 +96,8 @@ declare namespace gapi.client {
|
|
|
84
96
|
enableConfidentialCompute?: boolean;
|
|
85
97
|
}
|
|
86
98
|
interface GceInstance {
|
|
99
|
+
/** Optional. A list of the type and count of accelerator cards attached to the instance. */
|
|
100
|
+
accelerators?: Accelerator[];
|
|
87
101
|
/** 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. */
|
|
88
102
|
bootDiskSizeGb?: number;
|
|
89
103
|
/** Optional. A set of Compute Engine Confidential VM instance options. */
|
|
@@ -109,6 +123,16 @@ declare namespace gapi.client {
|
|
|
109
123
|
/** Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules). */
|
|
110
124
|
tags?: string[];
|
|
111
125
|
}
|
|
126
|
+
interface GcePersistentDisk {
|
|
127
|
+
/** Optional. Type of the disk to use. Defaults to `"pd-standard"`. */
|
|
128
|
+
diskType?: string;
|
|
129
|
+
/** Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set. */
|
|
130
|
+
readOnly?: boolean;
|
|
131
|
+
/** Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. This field is mutable. */
|
|
132
|
+
sourceImage?: string;
|
|
133
|
+
/** Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable. */
|
|
134
|
+
sourceSnapshot?: string;
|
|
135
|
+
}
|
|
112
136
|
interface GceRegionalPersistentDisk {
|
|
113
137
|
/** Optional. The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-types) for the home directory. Defaults to `"pd-standard"`. */
|
|
114
138
|
diskType?: string;
|
|
@@ -393,6 +417,8 @@ declare namespace gapi.client {
|
|
|
393
417
|
enableAuditAgent?: boolean;
|
|
394
418
|
/** 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. */
|
|
395
419
|
encryptionKey?: CustomerEncryptionKey;
|
|
420
|
+
/** Optional. Ephemeral directories which won't persist across workstation sessions. */
|
|
421
|
+
ephemeralDirectories?: EphemeralDirectory[];
|
|
396
422
|
/** Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
397
423
|
etag?: string;
|
|
398
424
|
/** Optional. Runtime host for the workstation. */
|