@maxim_mazurok/gapi.client.gkehub-v1 0.0.20220818 → 0.0.20220912
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 +36 -13
- package/package.json +1 -1
- package/tests.ts +43 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220912
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -110,17 +110,18 @@ declare namespace gapi.client {
|
|
|
110
110
|
/**
|
|
111
111
|
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
112
112
|
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
113
|
-
* account.
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
117
|
-
* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
118
|
-
* `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
119
|
-
* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
120
|
-
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
121
|
-
* account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
122
|
-
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
123
|
-
* the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
113
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
114
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
115
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
116
|
+
* 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]`. *
|
|
117
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
118
|
+
* identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
119
|
+
* `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
120
|
+
* a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
121
|
+
* reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
122
|
+
* identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
123
|
+
* `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
124
|
+
* example, `google.com` or `example.com`.
|
|
124
125
|
*/
|
|
125
126
|
members?: string[];
|
|
126
127
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
@@ -142,6 +143,8 @@ declare namespace gapi.client {
|
|
|
142
143
|
state?: FeatureState;
|
|
143
144
|
}
|
|
144
145
|
interface ConfigManagementConfigSync {
|
|
146
|
+
/** Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. */
|
|
147
|
+
allowVerticalScale?: boolean;
|
|
145
148
|
/**
|
|
146
149
|
* Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other
|
|
147
150
|
* ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.
|
|
@@ -153,7 +156,7 @@ declare namespace gapi.client {
|
|
|
153
156
|
oci?: ConfigManagementOciConfig;
|
|
154
157
|
/** Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts. */
|
|
155
158
|
preventDrift?: boolean;
|
|
156
|
-
/** Specifies whether the Config Sync Repo is in
|
|
159
|
+
/** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
157
160
|
sourceFormat?: string;
|
|
158
161
|
}
|
|
159
162
|
interface ConfigManagementConfigSyncDeploymentState {
|
|
@@ -211,6 +214,8 @@ declare namespace gapi.client {
|
|
|
211
214
|
gatekeeperAudit?: string;
|
|
212
215
|
/** Status of gatekeeper-controller-manager pod. */
|
|
213
216
|
gatekeeperControllerManagerState?: string;
|
|
217
|
+
/** Status of the pod serving the mutation webhook. */
|
|
218
|
+
gatekeeperMutation?: string;
|
|
214
219
|
}
|
|
215
220
|
interface ConfigManagementGitConfig {
|
|
216
221
|
/** The GCP Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
@@ -463,6 +468,8 @@ declare namespace gapi.client {
|
|
|
463
468
|
message?: string;
|
|
464
469
|
}
|
|
465
470
|
interface IdentityServiceAuthMethod {
|
|
471
|
+
/** GoogleConfig specific configuration */
|
|
472
|
+
googleConfig?: IdentityServiceGoogleConfig;
|
|
466
473
|
/** Identifier for auth config. */
|
|
467
474
|
name?: string;
|
|
468
475
|
/** OIDC specific configuration. */
|
|
@@ -470,6 +477,10 @@ declare namespace gapi.client {
|
|
|
470
477
|
/** Proxy server address to use for auth method. */
|
|
471
478
|
proxy?: string;
|
|
472
479
|
}
|
|
480
|
+
interface IdentityServiceGoogleConfig {
|
|
481
|
+
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
482
|
+
disable?: boolean;
|
|
483
|
+
}
|
|
473
484
|
interface IdentityServiceMembershipSpec {
|
|
474
485
|
/** A member may support multiple auth methods. */
|
|
475
486
|
authMethods?: IdentityServiceAuthMethod[];
|
|
@@ -493,6 +504,8 @@ declare namespace gapi.client {
|
|
|
493
504
|
clientSecret?: string;
|
|
494
505
|
/** Flag to denote if reverse proxy is used to connect to auth provider. This flag should be set to true when provider is not reachable by Google Cloud Console. */
|
|
495
506
|
deployCloudConsoleProxy?: boolean;
|
|
507
|
+
/** Enable access token. */
|
|
508
|
+
enableAccessToken?: boolean;
|
|
496
509
|
/** Output only. Encrypted OIDC Client secret */
|
|
497
510
|
encryptedClientSecret?: string;
|
|
498
511
|
/** Comma-separated list of key-value pairs. */
|
|
@@ -822,13 +835,23 @@ declare namespace gapi.client {
|
|
|
822
835
|
/** LifecycleState of control plane management. */
|
|
823
836
|
state?: string;
|
|
824
837
|
}
|
|
838
|
+
interface ServiceMeshDataPlaneManagement {
|
|
839
|
+
/** Explanation of the status. */
|
|
840
|
+
details?: ServiceMeshStatusDetails[];
|
|
841
|
+
/** Lifecycle status of data plane management. */
|
|
842
|
+
state?: string;
|
|
843
|
+
}
|
|
825
844
|
interface ServiceMeshMembershipSpec {
|
|
826
845
|
/** Enables automatic control plane management. */
|
|
827
846
|
controlPlane?: string;
|
|
847
|
+
/** Enables automatic Service Mesh management. */
|
|
848
|
+
management?: string;
|
|
828
849
|
}
|
|
829
850
|
interface ServiceMeshMembershipState {
|
|
830
851
|
/** Output only. Status of control plane management */
|
|
831
852
|
controlPlaneManagement?: ServiceMeshControlPlaneManagement;
|
|
853
|
+
/** Output only. Status of data plane management. */
|
|
854
|
+
dataPlaneManagement?: ServiceMeshDataPlaneManagement;
|
|
832
855
|
}
|
|
833
856
|
// tslint:disable-next-line:no-empty-interface
|
|
834
857
|
interface ServiceMeshSpec {
|
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: 20220912
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -66,6 +66,7 @@ gapi.load('client', async () => {
|
|
|
66
66
|
},
|
|
67
67
|
configmanagement: {
|
|
68
68
|
configSync: {
|
|
69
|
+
allowVerticalScale: true,
|
|
69
70
|
enabled: true,
|
|
70
71
|
git: {
|
|
71
72
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -113,12 +114,16 @@ gapi.load('client', async () => {
|
|
|
113
114
|
identityservice: {
|
|
114
115
|
authMethods: [
|
|
115
116
|
{
|
|
117
|
+
googleConfig: {
|
|
118
|
+
disable: true,
|
|
119
|
+
},
|
|
116
120
|
name: "Test string",
|
|
117
121
|
oidcConfig: {
|
|
118
122
|
certificateAuthorityData: "Test string",
|
|
119
123
|
clientId: "Test string",
|
|
120
124
|
clientSecret: "Test string",
|
|
121
125
|
deployCloudConsoleProxy: true,
|
|
126
|
+
enableAccessToken: true,
|
|
122
127
|
encryptedClientSecret: "Test string",
|
|
123
128
|
extraParams: "Test string",
|
|
124
129
|
groupPrefix: "Test string",
|
|
@@ -135,6 +140,7 @@ gapi.load('client', async () => {
|
|
|
135
140
|
},
|
|
136
141
|
mesh: {
|
|
137
142
|
controlPlane: "Test string",
|
|
143
|
+
management: "Test string",
|
|
138
144
|
},
|
|
139
145
|
}
|
|
140
146
|
},
|
|
@@ -222,6 +228,7 @@ gapi.load('client', async () => {
|
|
|
222
228
|
},
|
|
223
229
|
membershipSpec: {
|
|
224
230
|
configSync: {
|
|
231
|
+
allowVerticalScale: true,
|
|
225
232
|
enabled: true,
|
|
226
233
|
git: {
|
|
227
234
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -279,6 +286,7 @@ gapi.load('client', async () => {
|
|
|
279
286
|
deploymentState: {
|
|
280
287
|
gatekeeperAudit: "Test string",
|
|
281
288
|
gatekeeperControllerManagerState: "Test string",
|
|
289
|
+
gatekeeperMutation: "Test string",
|
|
282
290
|
},
|
|
283
291
|
version: {
|
|
284
292
|
version: "Test string",
|
|
@@ -291,12 +299,16 @@ gapi.load('client', async () => {
|
|
|
291
299
|
memberConfig: {
|
|
292
300
|
authMethods: [
|
|
293
301
|
{
|
|
302
|
+
googleConfig: {
|
|
303
|
+
disable: true,
|
|
304
|
+
},
|
|
294
305
|
name: "Test string",
|
|
295
306
|
oidcConfig: {
|
|
296
307
|
certificateAuthorityData: "Test string",
|
|
297
308
|
clientId: "Test string",
|
|
298
309
|
clientSecret: "Test string",
|
|
299
310
|
deployCloudConsoleProxy: true,
|
|
311
|
+
enableAccessToken: true,
|
|
300
312
|
encryptedClientSecret: "Test string",
|
|
301
313
|
extraParams: "Test string",
|
|
302
314
|
groupPrefix: "Test string",
|
|
@@ -323,6 +335,15 @@ gapi.load('client', async () => {
|
|
|
323
335
|
],
|
|
324
336
|
state: "Test string",
|
|
325
337
|
},
|
|
338
|
+
dataPlaneManagement: {
|
|
339
|
+
details: [
|
|
340
|
+
{
|
|
341
|
+
code: "Test string",
|
|
342
|
+
details: "Test string",
|
|
343
|
+
}
|
|
344
|
+
],
|
|
345
|
+
state: "Test string",
|
|
346
|
+
},
|
|
326
347
|
},
|
|
327
348
|
state: {
|
|
328
349
|
code: "Test string",
|
|
@@ -406,6 +427,7 @@ gapi.load('client', async () => {
|
|
|
406
427
|
},
|
|
407
428
|
configmanagement: {
|
|
408
429
|
configSync: {
|
|
430
|
+
allowVerticalScale: true,
|
|
409
431
|
enabled: true,
|
|
410
432
|
git: {
|
|
411
433
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -453,12 +475,16 @@ gapi.load('client', async () => {
|
|
|
453
475
|
identityservice: {
|
|
454
476
|
authMethods: [
|
|
455
477
|
{
|
|
478
|
+
googleConfig: {
|
|
479
|
+
disable: true,
|
|
480
|
+
},
|
|
456
481
|
name: "Test string",
|
|
457
482
|
oidcConfig: {
|
|
458
483
|
certificateAuthorityData: "Test string",
|
|
459
484
|
clientId: "Test string",
|
|
460
485
|
clientSecret: "Test string",
|
|
461
486
|
deployCloudConsoleProxy: true,
|
|
487
|
+
enableAccessToken: true,
|
|
462
488
|
encryptedClientSecret: "Test string",
|
|
463
489
|
extraParams: "Test string",
|
|
464
490
|
groupPrefix: "Test string",
|
|
@@ -475,6 +501,7 @@ gapi.load('client', async () => {
|
|
|
475
501
|
},
|
|
476
502
|
mesh: {
|
|
477
503
|
controlPlane: "Test string",
|
|
504
|
+
management: "Test string",
|
|
478
505
|
},
|
|
479
506
|
}
|
|
480
507
|
},
|
|
@@ -562,6 +589,7 @@ gapi.load('client', async () => {
|
|
|
562
589
|
},
|
|
563
590
|
membershipSpec: {
|
|
564
591
|
configSync: {
|
|
592
|
+
allowVerticalScale: true,
|
|
565
593
|
enabled: true,
|
|
566
594
|
git: {
|
|
567
595
|
gcpServiceAccountEmail: "Test string",
|
|
@@ -619,6 +647,7 @@ gapi.load('client', async () => {
|
|
|
619
647
|
deploymentState: {
|
|
620
648
|
gatekeeperAudit: "Test string",
|
|
621
649
|
gatekeeperControllerManagerState: "Test string",
|
|
650
|
+
gatekeeperMutation: "Test string",
|
|
622
651
|
},
|
|
623
652
|
version: {
|
|
624
653
|
version: "Test string",
|
|
@@ -631,12 +660,16 @@ gapi.load('client', async () => {
|
|
|
631
660
|
memberConfig: {
|
|
632
661
|
authMethods: [
|
|
633
662
|
{
|
|
663
|
+
googleConfig: {
|
|
664
|
+
disable: true,
|
|
665
|
+
},
|
|
634
666
|
name: "Test string",
|
|
635
667
|
oidcConfig: {
|
|
636
668
|
certificateAuthorityData: "Test string",
|
|
637
669
|
clientId: "Test string",
|
|
638
670
|
clientSecret: "Test string",
|
|
639
671
|
deployCloudConsoleProxy: true,
|
|
672
|
+
enableAccessToken: true,
|
|
640
673
|
encryptedClientSecret: "Test string",
|
|
641
674
|
extraParams: "Test string",
|
|
642
675
|
groupPrefix: "Test string",
|
|
@@ -663,6 +696,15 @@ gapi.load('client', async () => {
|
|
|
663
696
|
],
|
|
664
697
|
state: "Test string",
|
|
665
698
|
},
|
|
699
|
+
dataPlaneManagement: {
|
|
700
|
+
details: [
|
|
701
|
+
{
|
|
702
|
+
code: "Test string",
|
|
703
|
+
details: "Test string",
|
|
704
|
+
}
|
|
705
|
+
],
|
|
706
|
+
state: "Test string",
|
|
707
|
+
},
|
|
666
708
|
},
|
|
667
709
|
state: {
|
|
668
710
|
code: "Test string",
|