@maxim_mazurok/gapi.client.gkehub-v1 0.0.20220805 → 0.0.20220828
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 +24 -13
- package/package.json +1 -1
- package/tests.ts +19 -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: 20220828
|
|
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`. */
|
|
@@ -153,7 +154,7 @@ declare namespace gapi.client {
|
|
|
153
154
|
oci?: ConfigManagementOciConfig;
|
|
154
155
|
/** 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
156
|
preventDrift?: boolean;
|
|
156
|
-
/** Specifies whether the Config Sync Repo is in
|
|
157
|
+
/** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
157
158
|
sourceFormat?: string;
|
|
158
159
|
}
|
|
159
160
|
interface ConfigManagementConfigSyncDeploymentState {
|
|
@@ -211,6 +212,8 @@ declare namespace gapi.client {
|
|
|
211
212
|
gatekeeperAudit?: string;
|
|
212
213
|
/** Status of gatekeeper-controller-manager pod. */
|
|
213
214
|
gatekeeperControllerManagerState?: string;
|
|
215
|
+
/** Status of the pod serving the mutation webhook. */
|
|
216
|
+
gatekeeperMutation?: string;
|
|
214
217
|
}
|
|
215
218
|
interface ConfigManagementGitConfig {
|
|
216
219
|
/** The GCP Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
@@ -463,6 +466,8 @@ declare namespace gapi.client {
|
|
|
463
466
|
message?: string;
|
|
464
467
|
}
|
|
465
468
|
interface IdentityServiceAuthMethod {
|
|
469
|
+
/** GoogleConfig specific configuration */
|
|
470
|
+
googleConfig?: IdentityServiceGoogleConfig;
|
|
466
471
|
/** Identifier for auth config. */
|
|
467
472
|
name?: string;
|
|
468
473
|
/** OIDC specific configuration. */
|
|
@@ -470,6 +475,10 @@ declare namespace gapi.client {
|
|
|
470
475
|
/** Proxy server address to use for auth method. */
|
|
471
476
|
proxy?: string;
|
|
472
477
|
}
|
|
478
|
+
interface IdentityServiceGoogleConfig {
|
|
479
|
+
/** Disable automatic configuration of Google Plugin on supported platforms. */
|
|
480
|
+
disable?: boolean;
|
|
481
|
+
}
|
|
473
482
|
interface IdentityServiceMembershipSpec {
|
|
474
483
|
/** A member may support multiple auth methods. */
|
|
475
484
|
authMethods?: IdentityServiceAuthMethod[];
|
|
@@ -493,6 +502,8 @@ declare namespace gapi.client {
|
|
|
493
502
|
clientSecret?: string;
|
|
494
503
|
/** 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
504
|
deployCloudConsoleProxy?: boolean;
|
|
505
|
+
/** Enable access token. */
|
|
506
|
+
enableAccessToken?: boolean;
|
|
496
507
|
/** Output only. Encrypted OIDC Client secret */
|
|
497
508
|
encryptedClientSecret?: string;
|
|
498
509
|
/** Comma-separated list of key-value pairs. */
|
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: 20220828
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -113,12 +113,16 @@ gapi.load('client', async () => {
|
|
|
113
113
|
identityservice: {
|
|
114
114
|
authMethods: [
|
|
115
115
|
{
|
|
116
|
+
googleConfig: {
|
|
117
|
+
disable: true,
|
|
118
|
+
},
|
|
116
119
|
name: "Test string",
|
|
117
120
|
oidcConfig: {
|
|
118
121
|
certificateAuthorityData: "Test string",
|
|
119
122
|
clientId: "Test string",
|
|
120
123
|
clientSecret: "Test string",
|
|
121
124
|
deployCloudConsoleProxy: true,
|
|
125
|
+
enableAccessToken: true,
|
|
122
126
|
encryptedClientSecret: "Test string",
|
|
123
127
|
extraParams: "Test string",
|
|
124
128
|
groupPrefix: "Test string",
|
|
@@ -279,6 +283,7 @@ gapi.load('client', async () => {
|
|
|
279
283
|
deploymentState: {
|
|
280
284
|
gatekeeperAudit: "Test string",
|
|
281
285
|
gatekeeperControllerManagerState: "Test string",
|
|
286
|
+
gatekeeperMutation: "Test string",
|
|
282
287
|
},
|
|
283
288
|
version: {
|
|
284
289
|
version: "Test string",
|
|
@@ -291,12 +296,16 @@ gapi.load('client', async () => {
|
|
|
291
296
|
memberConfig: {
|
|
292
297
|
authMethods: [
|
|
293
298
|
{
|
|
299
|
+
googleConfig: {
|
|
300
|
+
disable: true,
|
|
301
|
+
},
|
|
294
302
|
name: "Test string",
|
|
295
303
|
oidcConfig: {
|
|
296
304
|
certificateAuthorityData: "Test string",
|
|
297
305
|
clientId: "Test string",
|
|
298
306
|
clientSecret: "Test string",
|
|
299
307
|
deployCloudConsoleProxy: true,
|
|
308
|
+
enableAccessToken: true,
|
|
300
309
|
encryptedClientSecret: "Test string",
|
|
301
310
|
extraParams: "Test string",
|
|
302
311
|
groupPrefix: "Test string",
|
|
@@ -453,12 +462,16 @@ gapi.load('client', async () => {
|
|
|
453
462
|
identityservice: {
|
|
454
463
|
authMethods: [
|
|
455
464
|
{
|
|
465
|
+
googleConfig: {
|
|
466
|
+
disable: true,
|
|
467
|
+
},
|
|
456
468
|
name: "Test string",
|
|
457
469
|
oidcConfig: {
|
|
458
470
|
certificateAuthorityData: "Test string",
|
|
459
471
|
clientId: "Test string",
|
|
460
472
|
clientSecret: "Test string",
|
|
461
473
|
deployCloudConsoleProxy: true,
|
|
474
|
+
enableAccessToken: true,
|
|
462
475
|
encryptedClientSecret: "Test string",
|
|
463
476
|
extraParams: "Test string",
|
|
464
477
|
groupPrefix: "Test string",
|
|
@@ -619,6 +632,7 @@ gapi.load('client', async () => {
|
|
|
619
632
|
deploymentState: {
|
|
620
633
|
gatekeeperAudit: "Test string",
|
|
621
634
|
gatekeeperControllerManagerState: "Test string",
|
|
635
|
+
gatekeeperMutation: "Test string",
|
|
622
636
|
},
|
|
623
637
|
version: {
|
|
624
638
|
version: "Test string",
|
|
@@ -631,12 +645,16 @@ gapi.load('client', async () => {
|
|
|
631
645
|
memberConfig: {
|
|
632
646
|
authMethods: [
|
|
633
647
|
{
|
|
648
|
+
googleConfig: {
|
|
649
|
+
disable: true,
|
|
650
|
+
},
|
|
634
651
|
name: "Test string",
|
|
635
652
|
oidcConfig: {
|
|
636
653
|
certificateAuthorityData: "Test string",
|
|
637
654
|
clientId: "Test string",
|
|
638
655
|
clientSecret: "Test string",
|
|
639
656
|
deployCloudConsoleProxy: true,
|
|
657
|
+
enableAccessToken: true,
|
|
640
658
|
encryptedClientSecret: "Test string",
|
|
641
659
|
extraParams: "Test string",
|
|
642
660
|
groupPrefix: "Test string",
|