@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20240417 → 0.0.20240508
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 +11 -3
- 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:
|
|
12
|
+
// Revision: 20240508
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -130,9 +130,9 @@ declare namespace gapi.client {
|
|
|
130
130
|
pooledInstances?: number;
|
|
131
131
|
/** Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API. */
|
|
132
132
|
poolSize?: number;
|
|
133
|
-
/** Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `
|
|
133
|
+
/** Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logging.logEntries.create` and `monitoring.timeSeries.create` permissions on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible. */
|
|
134
134
|
serviceAccount?: string;
|
|
135
|
-
/** Optional. Scopes to grant to the service_account.
|
|
135
|
+
/** Optional. Scopes to grant to the service_account. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account. */
|
|
136
136
|
serviceAccountScopes?: string[];
|
|
137
137
|
/** Optional. A set of Compute Engine Shielded instance options. */
|
|
138
138
|
shieldedInstanceConfig?: GceShieldedInstanceConfig;
|
|
@@ -278,6 +278,12 @@ declare namespace gapi.client {
|
|
|
278
278
|
/** 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
279
|
version?: number;
|
|
280
280
|
}
|
|
281
|
+
interface PortRange {
|
|
282
|
+
/** Required. Starting port number for the current range of ports. */
|
|
283
|
+
first?: number;
|
|
284
|
+
/** Required. Ending port number for the current range of ports. */
|
|
285
|
+
last?: number;
|
|
286
|
+
}
|
|
281
287
|
interface PrivateClusterConfig {
|
|
282
288
|
/** 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. */
|
|
283
289
|
allowedProjects?: string[];
|
|
@@ -399,6 +405,8 @@ declare namespace gapi.client {
|
|
|
399
405
|
updateTime?: string;
|
|
400
406
|
}
|
|
401
407
|
interface WorkstationConfig {
|
|
408
|
+
/** Optional. Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535. */
|
|
409
|
+
allowedPorts?: PortRange[];
|
|
402
410
|
/** Optional. Client-specified annotations. */
|
|
403
411
|
annotations?: {[P in string]: string};
|
|
404
412
|
/** Output only. Status conditions describing the current resource state. */
|