@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20230113 → 0.0.20230201
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 +14 -9
- package/package.json +1 -1
- package/tests.ts +7 -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: 20230201
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -51,14 +51,14 @@ declare namespace gapi.client {
|
|
|
51
51
|
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
52
52
|
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
53
53
|
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
54
|
-
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `
|
|
55
|
-
*
|
|
56
|
-
* `
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* `
|
|
61
|
-
*
|
|
54
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
|
55
|
+
* users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
|
|
56
|
+
* been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
|
|
57
|
+
* the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
|
|
58
|
+
* deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
|
|
59
|
+
* the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that
|
|
60
|
+
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
61
|
+
* retains the role in the binding.
|
|
62
62
|
*/
|
|
63
63
|
members?: string[];
|
|
64
64
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -287,6 +287,11 @@ declare namespace gapi.client {
|
|
|
287
287
|
version?: number;
|
|
288
288
|
}
|
|
289
289
|
interface PrivateClusterConfig {
|
|
290
|
+
/**
|
|
291
|
+
* 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)
|
|
292
|
+
* are allowed.
|
|
293
|
+
*/
|
|
294
|
+
allowedProjects?: string[];
|
|
290
295
|
/**
|
|
291
296
|
* Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a new DNS zone
|
|
292
297
|
* mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230201
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -93,6 +93,9 @@ gapi.load('client', async () => {
|
|
|
93
93
|
name: "Test string",
|
|
94
94
|
network: "Test string",
|
|
95
95
|
privateClusterConfig: {
|
|
96
|
+
allowedProjects: [
|
|
97
|
+
"Test string"
|
|
98
|
+
],
|
|
96
99
|
clusterHostname: "Test string",
|
|
97
100
|
enablePrivateEndpoint: true,
|
|
98
101
|
serviceAttachmentUri: "Test string",
|
|
@@ -151,6 +154,9 @@ gapi.load('client', async () => {
|
|
|
151
154
|
name: "Test string",
|
|
152
155
|
network: "Test string",
|
|
153
156
|
privateClusterConfig: {
|
|
157
|
+
allowedProjects: [
|
|
158
|
+
"Test string"
|
|
159
|
+
],
|
|
154
160
|
clusterHostname: "Test string",
|
|
155
161
|
enablePrivateEndpoint: true,
|
|
156
162
|
serviceAttachmentUri: "Test string",
|