@maxim_mazurok/gapi.client.workstations-v1 0.0.20240528 → 0.0.20240709
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 +18 -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: 20240709
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -72,7 +72,7 @@ declare namespace gapi.client {
|
|
|
72
72
|
kmsKeyServiceAccount?: string;
|
|
73
73
|
}
|
|
74
74
|
interface DomainConfig {
|
|
75
|
-
/** Immutable.
|
|
75
|
+
/** Immutable. Domain used by Workstations for HTTP ingress. */
|
|
76
76
|
domain?: string;
|
|
77
77
|
}
|
|
78
78
|
interface EphemeralDirectory {
|
|
@@ -122,6 +122,8 @@ declare namespace gapi.client {
|
|
|
122
122
|
shieldedInstanceConfig?: GceShieldedInstanceConfig;
|
|
123
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). */
|
|
124
124
|
tags?: string[];
|
|
125
|
+
/** Optional. Resource manager tags to be bound to this instance. Tag keys and values have the same definition as 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`. */
|
|
126
|
+
vmTags?: {[P in string]: string};
|
|
125
127
|
}
|
|
126
128
|
interface GcePersistentDisk {
|
|
127
129
|
/** Optional. Type of the disk to use. Defaults to `"pd-standard"`. */
|
|
@@ -156,6 +158,8 @@ declare namespace gapi.client {
|
|
|
156
158
|
interface GenerateAccessTokenRequest {
|
|
157
159
|
/** 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. */
|
|
158
160
|
expireTime?: string;
|
|
161
|
+
/** 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. */
|
|
162
|
+
port?: number;
|
|
159
163
|
/** 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. */
|
|
160
164
|
ttl?: string;
|
|
161
165
|
}
|
|
@@ -278,10 +282,20 @@ declare namespace gapi.client {
|
|
|
278
282
|
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
279
283
|
version?: number;
|
|
280
284
|
}
|
|
285
|
+
interface PortRange {
|
|
286
|
+
/** Required. Starting port number for the current range of ports. */
|
|
287
|
+
first?: number;
|
|
288
|
+
/** Required. Ending port number for the current range of ports. */
|
|
289
|
+
last?: number;
|
|
290
|
+
}
|
|
281
291
|
interface PrivateClusterConfig {
|
|
292
|
+
/** 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. */
|
|
282
293
|
allowedProjects?: string[];
|
|
294
|
+
/** 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. */
|
|
283
295
|
clusterHostname?: string;
|
|
296
|
+
/** Immutable. Whether Workstations endpoint is private. */
|
|
284
297
|
enablePrivateEndpoint?: boolean;
|
|
298
|
+
/** 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). */
|
|
285
299
|
serviceAttachmentUri?: string;
|
|
286
300
|
}
|
|
287
301
|
interface ReadinessCheck {
|
|
@@ -393,6 +407,8 @@ declare namespace gapi.client {
|
|
|
393
407
|
updateTime?: string;
|
|
394
408
|
}
|
|
395
409
|
interface WorkstationConfig {
|
|
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. */
|
|
411
|
+
allowedPorts?: PortRange[];
|
|
396
412
|
/** Optional. Client-specified annotations. */
|
|
397
413
|
annotations?: {[P in string]: string};
|
|
398
414
|
/** Output only. Status conditions describing the current resource state. */
|